diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2020-04-10 10:24:09 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2020-04-10 10:24:09 +0200 |
commit | e5ea01c1a8bbd328dcc576928bf3e4271cb55399 (patch) | |
tree | 988accdc0e9ad763ea6b3c24df12154a286e1a55 /src/libexpr/flake/call-flake.nix | |
parent | 3aaceeb7e2d3fb8a07a1aa5a21df1dca6bbaa0ef (diff) |
Remove flake 'edition' field
Future editions of flakes or the Nix language can be supported by
renaming flake.nix (e.g. flake-v2.nix). This avoids a bootstrap
problem where we don't know which grammar to use to parse
flake*.nix. It also allows a project to support multiple flake
editions, in theory.
Diffstat (limited to 'src/libexpr/flake/call-flake.nix')
-rw-r--r-- | src/libexpr/flake/call-flake.nix | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libexpr/flake/call-flake.nix b/src/libexpr/flake/call-flake.nix index dc9ed357c..8ee17b8f4 100644 --- a/src/libexpr/flake/call-flake.nix +++ b/src/libexpr/flake/call-flake.nix @@ -19,7 +19,6 @@ let result = outputs // sourceInfo // { inherit inputs; inherit outputs; inherit sourceInfo; }; in if node.flake or true then - assert flake.edition or flake.epoch or 0 == 201909; assert builtins.isFunction flake.outputs; result else |