[prev in list] [next in list] [prev in thread] [next in thread] 

List:       nix-dev
Subject:    [Nix-dev] [plea for help] Problems upgrading a system that was installed in December
From:       shea () shealevy ! com (Shea Levy)
Date:       2013-03-29 21:55:31
Message-ID: 74E0F7B2-4B30-49DA-AA9B-77CCA337052A () shealevy ! com
[Download RAW message or body]

Hi Antonio,

Go to http://hydra.nixos.org/job/nixpkgs/trunk/nixUnstable.x86_64-linux/latest and \
follow the instructions to download that build result into your store. Then, install \
it with nix-env -i /full/store/path. Then nixos-rebuild should work (and you can do \
nix-env -e nix after switching to the new system if you want).

You should ideally run all these steps with the daemon turned back on and NIX_REMOTE \
set, those are unrelated to this.

Thanks,
Shea

On Mar 29, 2013, at 17:35, Antonio Vargas Gonzalez <windenntw at gmail.com> wrote:

> 
> Hi all,
> 
> I hope this can be solved, otherwise it spells saving my nixos.config re-installing \
> for me. 
> I installed a new system from scratch at the start of last december, and had it \
> running fine so far without any updates. 
> Today, I wanted to install a bit more stuff so first I decided to re-sync my \
> installation, as root: 
> (nixos was already pointing to unstable)
> 
> # nix-channel --update nixos
> # nixos-rebuild --switch
> 
> [root at nixosito:~]# nixos-rebuild switch --show-trace
> building Nix...
> error: while evaluating the attribute `config' at \
> `/nix/var/nix/profiles/per-user/root/channels/nixos/nixos/lib/eval-config.nix:69:3':
>  while evaluating the function at \
> `/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/pkgs/top-level/all-packages.nix:8:1':
>  while evaluating the function at \
> `/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/pkgs/top-level/all-packages.nix:114:26':
>  while evaluating the function at \
> `/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/pkgs/top-level/all-packages.nix:132:19':
>  while evaluating the builtin function `isFunction':
> while evaluating the attribute `optionDefinitions.nixpkgs' at \
> `/nix/var/nix/profiles/per-user/root/channels/nixos/nixos/lib/eval-config.nix:25:3':
>  while evaluating the function at \
> `/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/pkgs/top-level/all-packages.nix:8:1':
>  while evaluating the function at \
> `/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/pkgs/top-level/all-packages.nix:114:26':
>  while evaluating the function at \
> `/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/pkgs/top-level/all-packages.nix:132:19':
>  while evaluating the function at \
> `/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/pkgs/lib/attrsets.nix:228:25':
>  while evaluating the attribute `stdenv' at \
> `/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/pkgs/top-level/all-packages.nix:214:3':
>  while evaluating the attribute `stdenv' at \
> `/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/pkgs/stdenv/default.nix:55:3':
>  while evaluating the attribute `stdenvLinux' at \
> `/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/pkgs/stdenv/linux/default.nix:264:3':
>  while evaluating the function at \
> `/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/pkgs/stdenv/generic/default.nix:1:1':
>  while evaluating the builtin function `abort':
> evaluation aborted with the following error message: `This version of Nixpkgs \
>                 requires Nix >= 1.2, please upgrade!'
> error: while evaluating the attribute `pkgs' at \
> `/nix/var/nix/profiles/per-user/root/channels/nixos/nixos/lib/eval-config.nix:48:3':
>  while evaluating the function at \
> `/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/pkgs/top-level/all-packages.nix:8:1':
>  while evaluating the function at \
> `/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/pkgs/top-level/all-packages.nix:114:26':
>  while evaluating the function at \
> `/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/pkgs/top-level/all-packages.nix:132:19':
>  while evaluating the builtin function `isFunction':
> while evaluating the attribute `optionDefinitions.nixpkgs' at \
> `/nix/var/nix/profiles/per-user/root/channels/nixos/nixos/lib/eval-config.nix:25:3':
>  while evaluating the function at \
> `/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/pkgs/top-level/all-packages.nix:8:1':
>  while evaluating the function at \
> `/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/pkgs/top-level/all-packages.nix:114:26':
>  while evaluating the function at \
> `/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/pkgs/top-level/all-packages.nix:132:19':
>  while evaluating the function at \
> `/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/pkgs/lib/attrsets.nix:228:25':
>  while evaluating the attribute `stdenv' at \
> `/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/pkgs/top-level/all-packages.nix:214:3':
>  while evaluating the attribute `stdenv' at \
> `/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/pkgs/stdenv/default.nix:55:3':
>  while evaluating the attribute `stdenvLinux' at \
> `/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/pkgs/stdenv/linux/default.nix:264:3':
>  while evaluating the function at \
> `/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/pkgs/stdenv/generic/default.nix:1:1':
>  while evaluating the builtin function `abort':
> evaluation aborted with the following error message: `This version of Nixpkgs \
>                 requires Nix >= 1.2, please upgrade!'
> error: while evaluating the function at \
> `/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/pkgs/top-level/all-packages.nix:8:1':
>  while evaluating the function at \
> `/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/pkgs/top-level/all-packages.nix:114:26':
>  while evaluating the function at \
> `/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/pkgs/top-level/all-packages.nix:132:19':
>  while evaluating the function at \
> `/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/pkgs/lib/attrsets.nix:228:25':
>  while evaluating the attribute `stdenv' at \
> `/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/pkgs/top-level/all-packages.nix:214:3':
>  while evaluating the attribute `stdenv' at \
> `/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/pkgs/stdenv/default.nix:55:3':
>  while evaluating the attribute `stdenvLinux' at \
> `/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/pkgs/stdenv/linux/default.nix:264:3':
>  while evaluating the function at \
> `/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/pkgs/stdenv/generic/default.nix:1:1':
>  while evaluating the builtin function `abort':
> evaluation aborted with the following error message: `This version of Nixpkgs \
> requires Nix >= 1.2, please upgrade!' 
> 
> 
> I tried tracing back that and found this commit from early March this year:
> 
> https://github.com/NixOS/nixpkgs/commit/262c21ed464a2593b54ec274a3b84083c0795f2d
> 
> 
> Asking on the IRC, I tried unsetting NIX_REMOTE and stopping the nix-daemon, yet \
> there is no way for me to continue the switch or do any other administrative work \
> on the machine anymore. 
> What are my options now? I've tried looking online on the official docs, irc logs, \
> etc but found no info so far on how to proceed. Only a reference at 
> http://webcache.googleusercontent.com/search?q=cache:rRoNmAs2epUJ:nixos.org/irc/logs/log.20130308+&cd=8&hl=es&ct=clnk
>  
> and nothing else to figure out how to fix it.
> 
> 
> Thanks in advance -- winden
> 
> 
> -- 
> Antonio Vargas Gonzalez | winden ^ rgba ^ network ^ batman.group | +windenntw | \
> windenntw at gmail.com 
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20130329/ef0c9711/attachment-0001.html \



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic