2015-11-26 03:04:29 +00:00
|
|
|
let requiredVersion = import ./lib/minver.nix; in
|
2014-03-17 10:33:36 +00:00
|
|
|
|
2015-10-15 11:17:37 +00:00
|
|
|
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"
|
2014-03-17 10:33:36 +00:00
|
|
|
|
|
|
|
else
|
|
|
|
|
2016-04-26 17:53:31 +00:00
|
|
|
import ./pkgs/top-level/impure.nix
|