{"action":"created","issue":{"url":"https://api.github.com/repos/NixOS/nix/issues/1897","repository_url":"https://api.github.com/repos/NixOS/nix","labels_url":"https://api.github.com/repos/NixOS/nix/issues/1897/labels{/name}","comments_url":"https://api.github.com/repos/NixOS/nix/issues/1897/comments","events_url":"https://api.github.com/repos/NixOS/nix/issues/1897/events","html_url":"https://github.com/NixOS/nix/issues/1897","id":299676494,"number":1897,"title":"\"imported archive ... lacks a signature\" after Nix 2.0 upgrade","user":{"login":"lukego","id":13791,"avatar_url":"https://avatars0.githubusercontent.com/u/13791?v=4","gravatar_id":"","url":"https://api.github.com/users/lukego","html_url":"https://github.com/lukego","followers_url":"https://api.github.com/users/lukego/followers","following_url":"https://api.github.com/users/lukego/following{/other_user}","gists_url":"https://api.github.com/users/lukego/gists{/gist_id}","starred_url":"https://api.github.com/users/lukego/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukego/subscriptions","organizations_url":"https://api.github.com/users/lukego/orgs","repos_url":"https://api.github.com/users/lukego/repos","events_url":"https://api.github.com/users/lukego/events{/privacy}","received_events_url":"https://api.github.com/users/lukego/received_events","type":"User","site_admin":false},"labels":[{"id":886485313,"url":"https://api.github.com/repos/NixOS/nix/labels/backlog","name":"backlog","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":{"login":"shlevy","id":487050,"avatar_url":"https://avatars3.githubusercontent.com/u/487050?v=4","gravatar_id":"","url":"https://api.github.com/users/shlevy","html_url":"https://github.com/shlevy","followers_url":"https://api.github.com/users/shlevy/followers","following_url":"https://api.github.com/users/shlevy/following{/other_user}","gists_url":"https://api.github.com/users/shlevy/gists{/gist_id}","starred_url":"https://api.github.com/users/shlevy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shlevy/subscriptions","organizations_url":"https://api.github.com/users/shlevy/orgs","repos_url":"https://api.github.com/users/shlevy/repos","events_url":"https://api.github.com/users/shlevy/events{/privacy}","received_events_url":"https://api.github.com/users/shlevy/received_events","type":"User","site_admin":false},"assignees":[{"login":"shlevy","id":487050,"avatar_url":"https://avatars3.githubusercontent.com/u/487050?v=4","gravatar_id":"","url":"https://api.github.com/users/shlevy","html_url":"https://github.com/shlevy","followers_url":"https://api.github.com/users/shlevy/followers","following_url":"https://api.github.com/users/shlevy/following{/other_user}","gists_url":"https://api.github.com/users/shlevy/gists{/gist_id}","starred_url":"https://api.github.com/users/shlevy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shlevy/subscriptions","organizations_url":"https://api.github.com/users/shlevy/orgs","repos_url":"https://api.github.com/users/shlevy/repos","events_url":"https://api.github.com/users/shlevy/events{/privacy}","received_events_url":"https://api.github.com/users/shlevy/received_events","type":"User","site_admin":false}],"milestone":null,"comments":8,"created_at":"2018-02-23T11:08:28Z","updated_at":"2018-04-06T21:26:44Z","closed_at":null,"author_association":"NONE","body":"I am trying to test Nix 2.0 on a NixOS machine but I am seeing this error:\r\n\r\n```\r\n[luke@interlaken:~/git/studio-installer]$ nix run -f channel:nixos-17.03 hello\r\n[9.0 MiB DL]\r\nerror: imported archive of ‘/nix/store/iajm0fc4ajkd6fc7mbk5w6jd7m1s24an-nixexprs.tar.xz’ lacks a signature\r\n```\r\n\r\nCan anybody tell me what this error means and how to troubleshoot/resolve it?\r\n\r\nI installed Nix 2.0pre today like this:\r\n\r\n```\r\n[luke@interlaken:~/git/studio-installer]$ nix-env -iA nixos-unstable.nixUnstable\r\nwarning: name collision in input Nix expressions, skipping ‘/home/luke/.nix-defexpr/channels_root/nixos’\r\ninstalling ‘nix-2.0pre5968_a6c0b773’\r\n...\r\n[luke@interlaken:~/git/studio-installer]$ nix-env --version\r\nwarning: unknown setting 'signed-binary-caches'\r\nnix-env (Nix) 2.0pre5968_a6c0b773```\r\n```\r\n\r\nand here is my nix.conf:\r\n\r\n```\r\n# WARNING: this file is generated from the nix.* options in\r\n# your NixOS configuration, typically\r\n# /etc/nixos/configuration.nix.  Do not edit it!\r\nbuild-users-group = nixbld\r\nbuild-max-jobs = 1\r\nbuild-cores = 0\r\nbuild-use-chroot = relaxed\r\nbuild-chroot-dirs = /var/setuid-wrappers/sudo=/var/setuid-wrappers/sudo-chroot /var/setuid-wrappers/sudo.real=/var/setuid-wrappers/sudo-chroot.real /nix/store/8mzjjmxq9g3ck2cspqq2g738sh7rkryx-sudo-1.8.15 /etc/sudoers /etc/passwd /sys /dev/hugepages /dev/net /dev/cpu /bin/sh=/nix/store/i7hx6w6zy3bv53f2xm1r23ya8qbzn4is-bash-4.3-p42/bin/bash /nix/store/gwl3ppqj4i730nhd4f50ncl5jc4n97ks-glibc-2.23 /nix/store/i7hx6w6zy3bv53f2xm1r23ya8qbzn4is-bash-4.3-p42 /nix/store/vh2xkhgp9li6dcj76b1zyvz65bwp2svf-linux-headers-3.18.14\r\nbinary-caches = https://cache.nixos.org https://hydra.snabb.co\r\ntrusted-binary-caches = https://cache.nixos.org https://hydra.snabb.co\r\nbinary-cache-public-keys = hydra.snabb.co-1:zPzKSJ1mynGtYEVbUR0QVZf9TLcaygz/OyzHlWo5AMM= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=\r\nsigned-binary-caches = *\r\n\r\ntrusted-users = root\r\nallowed-users = *\r\nconnect-timeout = 10\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/NixOS/nix/issues/comments/379386029","html_url":"https://github.com/NixOS/nix/issues/1897#issuecomment-379386029","issue_url":"https://api.github.com/repos/NixOS/nix/issues/1897","id":379386029,"user":{"login":"Zimmi48","id":1108325,"avatar_url":"https://avatars2.githubusercontent.com/u/1108325?v=4","gravatar_id":"","url":"https://api.github.com/users/Zimmi48","html_url":"https://github.com/Zimmi48","followers_url":"https://api.github.com/users/Zimmi48/followers","following_url":"https://api.github.com/users/Zimmi48/following{/other_user}","gists_url":"https://api.github.com/users/Zimmi48/gists{/gist_id}","starred_url":"https://api.github.com/users/Zimmi48/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zimmi48/subscriptions","organizations_url":"https://api.github.com/users/Zimmi48/orgs","repos_url":"https://api.github.com/users/Zimmi48/repos","events_url":"https://api.github.com/users/Zimmi48/events{/privacy}","received_events_url":"https://api.github.com/users/Zimmi48/received_events","type":"User","site_admin":false},"created_at":"2018-04-06T21:26:44Z","updated_at":"2018-04-06T21:26:44Z","author_association":"NONE","body":"Thanks @joepie91. At least you helped me understand what was preventing my upgrade. Removing my `nixpkgs-unstable` channel from my `$NIX_PATH` and the packages that depended on it from my `configuration.nix` was enough to allow me to upgrade to 18.03."}}
{"actor":{"display_login":"Zimmi48"}}