mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 22:50:49 +00:00
2e5b6362ae
Issue #10337.
10 lines
353 B
Nix
10 lines
353 B
Nix
let requiredVersion = "1.10"; 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
|