diff --git a/default.nix b/default.nix index faed7e2635403..8c7dd3788f88b 100644 --- a/default.nix +++ b/default.nix @@ -1,5 +1,7 @@ let requiredVersion = import ./lib/minver.nix; in + + if ! builtins ? nixVersion || builtins.compareVersions requiredVersion builtins.nixVersion == 1 then abort ''