TL; DR
.attrs.sh: No such file or directory during nixos-rebuild -> for now see workaround below: #36268 (comment)
Issue description
Cannot sudo nixos-rebuild boot --upgrade -I nixpkgs=/home/nequi/dev/upstream_nix with latest master (b84fd70).
The build logs ends in this:
building path(s) ‘/nix/store/7cnyjhx9vs7sr5x1fa5kbwmpvszcjw60-unit-disable-kernel-module-loading.service’
building path(s) ‘/nix/store/3za4jnyxp1z1vkaq8bdrdqn1x1b9ljpj-unit-display-manager.service’
building path(s) ‘/nix/store/7y2c37lli1r9mlzjgkvl7sbh1kmdg42g-unit-dnscrypt-proxy.service’
building path(s) ‘/nix/store/6papssyd63aihaxzm8i8a14ad9xd3jks-unit-dnsmasq.service’
building path(s) ‘/nix/store/6z1kg4w6smsza15p1m8ssd73agbfqfwn-unit-docker.service’
building path(s) ‘/nix/store/3pg0sh93cdsgkdq9lqsclg34vplbsn8v-unit-firewall.service’
building path(s) ‘/nix/store/chdqahlwa6sqd2skfwdl75wjfw8shha8-unit-getty-.service’
building path(s) ‘/nix/store/xacv6qcq7qhhg0b4zp9n1rh6havkjs0w-unit-mdadm-grow-continue-.service’
building path(s) ‘/nix/store/qky8yvibqmlmvwcwik5m496asrvgws37-closure-info’
/nix/store/aj9rz4k3xvg8q9fzqfnb0q123707zp0n-builder: line 1: .attrs.sh: No such file or directory
building path(s) ‘/nix/store/1aq46pxrg2vdqmid95vnivnsnv326vk5-emacs-all-the-icons-3.2.0’
builder for ‘/nix/store/7ycz6hmaa7rjrssq8pglbd62nqf0b1g3-closure-info.drv’ failed with exit code 1
building path(s) ‘/nix/store/sd8h3r7xp6cnrwvrw9ni4fm4j7p56av6-emacs-auto-complete-20170124.1845’
building path(s) ‘/nix/store/7w7y967gy3r3yz0w1n3lkqw1ziw5ncsa-emacs-flycheck-31’
building path(s) ‘/nix/store/j7a8lhjsn7s4gjbd8sbm6zdky2q9ns3f-emacs-projectile-20180128.655’
cannot build derivation ‘/nix/store/611p5z4v1p905mkhy52ympinz1cdmrcq-initrd.drv’: 1 dependencies couldn't be built
building path(s) ‘/nix/store/qpz6mx62s58n1fmpzrv8dsrzlrq7jyld-nixos-version’
building path(s) ‘/nix/store/83nrcqkbilc0l4qgbxq6nvk57bw9qxvg-unit-mdadm-shutdown.service’
building path(s) ‘/nix/store/2kv367hvdw4b0kyv4aspa37r7s6ml82x-unit-mdmon-.service’
building path(s) ‘/nix/store/m3jsvbx8x9b8z1rswnxmw29gdjfcqbcf-unit-network-local-commands.service’
building path(s) ‘/nix/store/d82pf5pzcwl5i24jp96wp67siv108r9y-unit-network-setup.service’
cannot build derivation ‘/nix/store/7xfncw8bsqhgr9sa46m2iygihbir93w0-nixos-system-nixus-18.03.git.b84fd70.drv’: 1 dependencies couldn't be built
error: build of ‘/nix/store/7xfncw8bsqhgr9sa46m2iygihbir93w0-nixos-system-nixus-18.03.git.b84fd70.drv’ failed
I tracked this particular error to 0d00215. So I reverted it.
But then I see this error:
building path(s) ‘/nix/store/ghpzxbyfm5qin6wpajds3sqjcs68w04q-etc-os-release’
building path(s) ‘/nix/store/52xjqjz80r05i3c3fcdh9djss098fxjc-issue’
building path(s) ‘/nix/store/6z1kg4w6smsza15p1m8ssd73agbfqfwn-unit-docker.service’
building path(s) ‘/nix/store/3pg0sh93cdsgkdq9lqsclg34vplbsn8v-unit-firewall.service’
building path(s) ‘/nix/store/chdqahlwa6sqd2skfwdl75wjfw8shha8-unit-getty-.service’
building path(s) ‘/nix/store/xacv6qcq7qhhg0b4zp9n1rh6havkjs0w-unit-mdadm-grow-continue-.service’
building path(s) ‘/nix/store/83nrcqkbilc0l4qgbxq6nvk57bw9qxvg-unit-mdadm-shutdown.service’
building path(s) ‘/nix/store/2kv367hvdw4b0kyv4aspa37r7s6ml82x-unit-mdmon-.service’
building path(s) ‘/nix/store/z3cv7ivid717h0kddwl528wafdzrhy92-closure-info’
building path(s) ‘/nix/store/1aq46pxrg2vdqmid95vnivnsnv326vk5-emacs-all-the-icons-3.2.0’
/nix/store/46gz3s6zhavr1s566h9yl7gqw7fb94q2-builder: line 3: /nix/store/z3cv7ivid717h0kddwl528wafdzrhy92-closure-info: syntax error: operand expected (error token is "/nix/store/z3cv7ivid717h0kddwl528wafdzrhy92-closure-info")
/nix/store/46gz3s6zhavr1s566h9yl7gqw7fb94q2-builder: line 5: mkdir: command not found
building path(s) ‘/nix/store/sd8h3r7xp6cnrwvrw9ni4fm4j7p56av6-emacs-auto-complete-20170124.1845’
building path(s) ‘/nix/store/7w7y967gy3r3yz0w1n3lkqw1ziw5ncsa-emacs-flycheck-31’
builder for ‘/nix/store/xabyii3ka8bvk1pp0z4gwkgvfry0f09i-closure-info.drv’ failed with exit code 127
building path(s) ‘/nix/store/j7a8lhjsn7s4gjbd8sbm6zdky2q9ns3f-emacs-projectile-20180128.655’
building path(s) ‘/nix/store/bb425wwxq85ssqjghq41j8rzdpbd2xi3-emacs-undo-tree-20170706.246’
building path(s) ‘/nix/store/097gbfyml28h1kp17s6ydk8i8m75rx2j-firefox-unwrapped-58.0.2’
cannot build derivation ‘/nix/store/ifpy9k2vf6hzm8ajqpdvi4yn6alavz6d-initrd.drv’: 1 dependencies couldn't be built
building path(s) ‘/nix/store/5fw96brprz4as3b0ky1nvghq93wbaaf0-nixos-version’
building path(s) ‘/nix/store/m3jsvbx8x9b8z1rswnxmw29gdjfcqbcf-unit-network-local-commands.service’
building path(s) ‘/nix/store/d82pf5pzcwl5i24jp96wp67siv108r9y-unit-network-setup.service’
building path(s) ‘/nix/store/pzpaj3x37pmba1afg0nr2mas5hdngwmy-unit-nix-daemon.service’
building path(s) ‘/nix/store/p7ab83jq1wg3nkr972n8biyj1bjzpk7h-unit-nix-optimise.service’
cannot build derivation ‘/nix/store/vrg5r2mdpm1qzsm9xl5qirr1sj74ab5h-nixos-system-nixus-18.03.git.fdce3d6.drv’: 1 dependencies couldn't be built
error: build of ‘/nix/store/vrg5r2mdpm1qzsm9xl5qirr1sj74ab5h-nixos-system-nixus-18.03.git.fdce3d6.drv’ failed
I am unable to determine what is going on with this.
Technical details
- system:
"x86_64-linux"
- host os:
Linux 4.15.7-hardened, NixOS, 18.03.git.a145640 (Impala)
- multi-user?:
yes
- sandbox:
yes
- version:
nix-env (Nix) 1.11.16
- channels(root):
"nixos-18.03pre130558.7270f2139ae"
- nixpkgs:
/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs
TL; DR
.attrs.sh: No such file or directoryduringnixos-rebuild-> for now see workaround below: #36268 (comment)Issue description
Cannot
sudo nixos-rebuild boot --upgrade -I nixpkgs=/home/nequi/dev/upstream_nixwith latestmaster(b84fd70).The build logs ends in this:
I tracked this particular error to 0d00215. So I reverted it.
But then I see this error:
I am unable to determine what is going on with this.
Technical details
"x86_64-linux"Linux 4.15.7-hardened, NixOS, 18.03.git.a145640 (Impala)yesyesnix-env (Nix) 1.11.16"nixos-18.03pre130558.7270f2139ae"/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs