Add a minimum version check.
This commit is contained in:
parent
c914064c9b
commit
c5eb17d47d
1 changed files with 2 additions and 0 deletions
|
@ -22,6 +22,8 @@
|
||||||
with builtins;
|
with builtins;
|
||||||
with pkgs.lib;
|
with pkgs.lib;
|
||||||
|
|
||||||
|
assert builtins.compareVersions builtins.nixVersion "2.3" >= 0;
|
||||||
|
|
||||||
let
|
let
|
||||||
l = import ./mach_nix/nix/lib.nix { inherit pkgs; lib = pkgs.lib; };
|
l = import ./mach_nix/nix/lib.nix { inherit pkgs; lib = pkgs.lib; };
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue