[Nix-dev] Cannot upgrade old NixOS

Daniel Hlynskyi abcz2.uprola at gmail.com
Sun Aug 4 14:49:53 CEST 2013


I have trouble to do upgrade NixOS. What is the easiest way to solve this
problem? Do I need to reinstall NixOS from scratch?

[root at localhosted:/var/log]# nixos-rebuild build --upgrade
fetching list of Nix archives at `
http://nixos.org/releases/nixos/nixos-13.07pre4909_b32ef4d-2238a23/MANIFEST.bz2'.
..
  % Total    % Received % Xferd  Average Speed   Time    Time     Time
 Current
                                 Dload  Upload   Total   Spent    Left
 Speed
100 2446k  100 2446k    0     0   804k      0  0:00:03  0:00:03 --:--:--
 829k
caching /nix/store/d8xb9p7i8yda09j0f2w06ar2c674kd7w-MANIFEST.bz2...
downloading Nix expressions from `
http://nixos.org/releases/nixos/nixos-13.07pre4909_b32ef4d-2238a23/nixexprs.tar.bz2'.
..
  % Total    % Received % Xferd  Average Speed   Time    Time     Time
 Current
                                 Dload  Upload   Total   Spent    Left
 Speed
100 4153k  100 4153k    0     0   939k      0  0:00:04  0:00:04 --:--:--
1007k
unpacking channels...
created 1 symlinks in user environment
building Nix...
error: syntax error, unexpected $undefined, expecting '.' or '=', at
`/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/pkgs/top-level/all-packages.nix:207:6'
(use `--show-trace' to show detailed location information)
error: syntax error, unexpected $undefined, expecting '.' or '=', at
`/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/pkgs/top-level/all-packages.nix:207:6'
(use `--show-trace' to show detailed location information)
error: syntax error, unexpected $undefined, expecting '.' or '=', at
`/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/pkgs/top-level/all-packages.nix:207:6'
(use `--show-trace' to show detailed location information)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20130804/0a26146b/attachment.html 


More information about the nix-dev mailing list