{"action":"created","issue":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/12629","labels_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/12629/labels{/name}","comments_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/12629/comments","events_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/12629/events","html_url":"https://github.com/NixOS/nixpkgs/issues/12629","id":128897149,"number":12629,"title":"nixos-rebuild switch fails","user":{"login":"danbst","id":743057,"avatar_url":"https://avatars.githubusercontent.com/u/743057?v=3","gravatar_id":"","url":"https://api.github.com/users/danbst","html_url":"https://github.com/danbst","followers_url":"https://api.github.com/users/danbst/followers","following_url":"https://api.github.com/users/danbst/following{/other_user}","gists_url":"https://api.github.com/users/danbst/gists{/gist_id}","starred_url":"https://api.github.com/users/danbst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danbst/subscriptions","organizations_url":"https://api.github.com/users/danbst/orgs","repos_url":"https://api.github.com/users/danbst/repos","events_url":"https://api.github.com/users/danbst/events{/privacy}","received_events_url":"https://api.github.com/users/danbst/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-01-26T18:11:30Z","updated_at":"2016-01-31T18:02:42Z","closed_at":"2016-01-31T18:02:42Z","body":"I'm on `nixos-unstable-small`. I've updated channel and run `nixos-rebuild switch`:\r\n\r\n```\r\n[root@nixos-master:~]# nixos-rebuild switch\r\nbuilding Nix...\r\nerror: getting status of вЂ/nix/store/x65bfds89675b1sgy6zn7k9msjbh19zc-modules/virtualisation/amazon-config.nixвЂ™: No such file or directory\r\n(use вЂ--show-traceвЂ™ to show detailed location information)\r\nerror: getting status of вЂ/nix/store/x65bfds89675b1sgy6zn7k9msjbh19zc-modules/virtualisation/amazon-config.nixвЂ™: No such file or directory\r\n(use вЂ--show-traceвЂ™ to show detailed location information)\r\nerror: evaluation aborted with the following error message: вЂThis version of Nixpkgs requires Nix >= 1.10, please upgrade! See https://nixos.org/wiki/How_to_update_when_Nix_is_too_old_to_evaluate_NixpkgsвЂ™\r\n/nix/store/pv978avci7km39zb4hi1p9gin3ys03r4-nixos-16.03pre75763.bf605c1/nixos/nixpkgs/nixos/modules/installer/tools/nixos-rebuild.sh: line 259: return: /nix/store/xryr9g56h8yjddp89d6dw12anyb4ch7c-nix-1.10: numeric argument required\r\n```\r\n\r\n1. Seems like it cannot build `nix`. \r\n2. The help message is wrong: `nixos-rebuild` doesn't use `nix` from environment, so installing it won't help in this case (`nixos-rebuild` uses hardcoded nix-1.9)\r\n3. Any way to upgrade the system?"},"comment":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/comments/177564833","html_url":"https://github.com/NixOS/nixpkgs/issues/12629#issuecomment-177564833","issue_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/12629","id":177564833,"user":{"login":"danbst","id":743057,"avatar_url":"https://avatars.githubusercontent.com/u/743057?v=3","gravatar_id":"","url":"https://api.github.com/users/danbst","html_url":"https://github.com/danbst","followers_url":"https://api.github.com/users/danbst/followers","following_url":"https://api.github.com/users/danbst/following{/other_user}","gists_url":"https://api.github.com/users/danbst/gists{/gist_id}","starred_url":"https://api.github.com/users/danbst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danbst/subscriptions","organizations_url":"https://api.github.com/users/danbst/orgs","repos_url":"https://api.github.com/users/danbst/repos","events_url":"https://api.github.com/users/danbst/events{/privacy}","received_events_url":"https://api.github.com/users/danbst/received_events","type":"User","site_admin":false},"created_at":"2016-01-31T18:02:42Z","updated_at":"2016-01-31T18:02:42Z","body":"closing this, as nobody seem to be interested and I have no time to reproduce this again"}}