Closed pghvlaans closed 2 years ago
Can't reproduce on nixos-unstable. Which channel are you using?
nixpkgs-unstable
What did you try to build?
I was trying to install steam
.
Can't reproduce on current nixpkgs-unstable when doing nix build .#steam
.
Can you provide more details? I tried this on commit 7b3e907a6fef935794b5049c2c57c519853deb90. Otherwise I am closing this issue.
I tried again on the new commit: nix-env -iA nixpkgs.steam
. The log of the failed build is below.
[pghvlaans@ambiorix] ~ $ nix log /nix/store/8s57pr9j16gadkvxgqxwrn996bm1cq2s-libva-minimal-1.8.3.drv
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking sources
unpacking source archive /nix/store/rnjfs2snrhqifr5z2337qzjh021x68sv-source
source root is source
@nix { "action": "setPhase", "phase": "patchPhase" }
patching sources
@nix { "action": "setPhase", "phase": "autoreconfPhase" }
autoreconfPhase
autoreconf: export WARNINGS=
autoreconf: Entering directory '.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4 ${ACLOCAL_FLAGS}
Can't exec "/bin/sh": No such file or directory at /nix/store/m8qg2a69mda3amfmyg8ri6l4r5siwixs-aut>
autoreconf: error: aclocal failed with exit status: 2
Is there anything more specific that would be helpful?
I actually got another idea. Please run the following command and compare the sandbox paths to mine:
$ nix show-config | grep sandbox-paths
sandbox-paths = /bin/sh=/nix/store/kas8m76rr10h78hfl3yk66akdi08bkf9-busybox-static-x86_64-unknown-linux-musl-1.35.0/bin/busybox
Ah, it's empty! Maybe that's the issue.
[pghvlaans@ambiorix] ~ $ nix show-config | grep sandbox-paths
sandbox-paths =
Yes, that was it. Adding a "sandbox-paths" line to /etc/nix/nix.conf
and restarting the daemon got past the error. Sorry about the noise; I'll close the issue.
Thank you very much!
On NixOS this is configured automatically and I did the same mistake a year ago.
Steps To Reproduce
Steps to reproduce the behavior:
nix-build /nix/store/8s57pr9j16gadkvxgqxwrn996bm1cq2s-libva-minimal-1.8.3.drv
Build log
Additional context
I was trying to install
steam
, and laterwpsoffice
Notify maintainers
@SuperSandro2000 (sorry, forgot the first time)
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.