about summary refs log tree commit diff
path: root/src/nix/upgrade-nix.cc
AgeCommit message (Collapse)AuthorFilesLines
2018-05-30 Move evaluator-specific settings out of libstoreEelco Dolstra1-1/+1
2018-01-31 Add 'nix upgrade-nix' commandEelco Dolstra1-0/+131
This command upgrades Nix to the latest stable version by installing a store path obtained from https://github.com/NixOS/nixpkgs/raw/master/nixos/modules/installer/tools/nix-fallback-paths.nix which is the same store path that the installer at https://nixos.org/nix/install.sh uses. The upgrade fails if Nix is not installed in a profile (e.g. on NixOS, or when installed outside of the Nix store).