mirror of
https://github.com/NixOS/rfcs.git
synced 2025-12-24 18:01:04 +01:00
assume a fixed version when none is specified
as suggested by @infinisil and @kevincox
This commit is contained in:
parent
32436e5c31
commit
37cd0bb585
1 changed files with 2 additions and 0 deletions
|
|
@ -28,6 +28,8 @@ Introduce a magic comment in the first line of a Nix file:
|
|||
|
||||
where `<version>` is a released version of Nix the given file is intended to work with.
|
||||
|
||||
If no magic comment is present, Nix 2.12 – the stable release at the time this RFC was accepted – is assumed.
|
||||
|
||||
Add an appropriate parameter to commands that allow encoding the same information where where files are not involved.
|
||||
|
||||
# Examples and Interactions
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue