[Nix-dev] Cannot upgrade old NixOS
Eelco Dolstra
eelco.dolstra at logicblox.com
Sun Aug 4 16:38:21 CEST 2013
Hi,
On 04/08/13 14:49, Daniel Hlynskyi wrote:
> I have trouble to do upgrade NixOS. What is the easiest way to solve this
> problem? Do I need to reinstall NixOS from scratch?
As Vladimir pointed out, your version of Nix is too old. The easiest solution
is probably to install the latest version of Nix:
http://hydra.nixos.org/job/nix/trunk/build.x86_64-linux/latest
E.g.
$ nix-install-package --non-interactive --url \
http://hydra.nixos.org/build/5636025/nix/pkg/nix-1.6pre3181_8e74c0b-x86_64-linux.nixpkg
Hopefully nixos-rebuild will then work. Afterwards you can do "nix-env -e nix".
--
Eelco Dolstra | LogicBlox, Inc. | http://nixos.org/~eelco/
More information about the nix-dev
mailing list