Skip to content

Commit

Permalink
Add a minimum version check.
Browse files Browse the repository at this point in the history
  • Loading branch information
tomprince committed Feb 14, 2022
1 parent c914064 commit c5eb17d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
with builtins;
with pkgs.lib;

assert builtins.compareVersions builtins.nixVersion "2.3" >= 0;

let
l = import ./mach_nix/nix/lib.nix { inherit pkgs; lib = pkgs.lib; };

Expand Down

0 comments on commit c5eb17d

Please sign in to comment.