1 let requiredVersion = import ./lib/minver.nix; in
3 if ! builtins ? nixVersion || builtins.compareVersions requiredVersion builtins.nixVersion == 1 then
7 This version of Nixpkgs requires Nix >= ${requiredVersion}, please upgrade:
9 - If you are running NixOS, `nixos-rebuild' can be used to upgrade your system.
11 - Alternatively, with Nix > 2.0 `nix upgrade-nix' can be used to imperatively
12 upgrade Nix. You may use `nix-env --version' to check which version you have.
14 - If you installed Nix using the install script (https://nixos.org/nix/install),
15 it is safe to upgrade by running it again:
17 curl -L https://nixos.org/nix/install | sh
19 For more information, please see the NixOS release notes at
20 https://nixos.org/nixos/manual or locally at
21 ${toString ./nixos/doc/manual/release-notes}.
23 If you need further help, see https://nixos.org/nixos/support.html
28 import ./pkgs/top-level/impure.nix