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@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 <https://plus.google.com/117143451409201100384/about> | [email protected]
_______________________________________________ nix-dev mailing list [email protected] http://lists.science.uu.nl/mailman/listinfo/nix-dev
