Closed deanodev closed 2 years ago
I don't know that this is specific to the Starter Project as I am also seeing similar File Descriptor error when I run nix build on the Plutus-Apps root directory.
This issue was due to either a corrupt download of the cache or corrupt cache. Its resolved as of now and everything is compiling ok.
After cloning the repo cd Plutus-Starter. %nix-shell
Error message:
` nix-shell building '/nix/store/j9wy6in0pqy949xczzf22rc9fz3fhj0z-source.drv'...
ErrorErrorxexecuting '/nix/store/715y5lnw12vdcc3hh9sc9vbkdi6c83x6-bash-4.4-p23/bin/bash': Bad file descriptor error: builder for '/nix/store/j9wy6in0pqy949xczzf22rc9fz3fhj0z-source.drv' failed with exit code 1; last 2 log lines:
taking a look at log:
` nix log /nix/store/j9wy6in0pqy949xczzf22rc9fz3fhj0z-source.drv ^A ^E^@^@^@^@^@^@^@Error^@^@^@^@^@^@^@^@^@^@^@^E^@^@^@^@^@^@^@Error^@^@^@x^@^@^@^@^@^@^@executing '/nix/store/715y5lnw12vdcc3h> lines 1-2/2 (END)
`
` cat /etc/nix/nix.conf
build-users-group = nixbld substituters = https://hydra.iohk.io https://iohk.cachix.org https://cache.nixos.org/ trusted-public-keys = hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ= iohk.cachix.org-1:DpRUyj7h7V830dp/i6Nti+NEO2/nhblbov/8MW7Rqoo= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
system = x86_64-darwin extra-platforms = x86_64-darwin aarch64-darwin
sandbox = false extra-sandbox-paths = /System/Library/Frameworks /System/Library/PrivateFrameworks /usr/lib /private/tmp /private/var/tmp /usr/bin/env experimental-features = nix-command extra-experimental-features = flakes `
Full trace:
` nix-shell --show-trace building '/nix/store/j9wy6in0pqy949xczzf22rc9fz3fhj0z-source.drv'...
ErrorErrorxexecuting '/nix/store/715y5lnw12vdcc3hh9sc9vbkdi6c83x6-bash-4.4-p23/bin/bash': Bad file descriptor error: builder for '/nix/store/j9wy6in0pqy949xczzf22rc9fz3fhj0z-source.drv' failed with exit code 1; last 2 log lines:
`