Add a minimum version check.

This commit is contained in:
Tom Prince 2022-02-14 12:52:46 -07:00
parent c914064c9b
commit c5eb17d47d

View file

@ -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; };