3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/default.nix
2015-11-26 23:11:11 +08:00

10 lines
370 B
Nix

let requiredVersion = import ./lib/minver.nix; in
if ! builtins ? nixVersion || builtins.compareVersions requiredVersion builtins.nixVersion == 1 then
abort "This version of Nixpkgs requires Nix >= ${requiredVersion}, please upgrade! See https://nixos.org/wiki/How_to_update_when_Nix_is_too_old_to_evaluate_Nixpkgs"
else
import ./pkgs/top-level/all-packages.nix