You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

default.nix 968B

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