initc3 / teeons

Project to explore reproducible enclave builds, in the context of TEEs (Trusted Execution Environments).
GNU General Public License v3.0
4 stars 2 forks source link

nix-build foo.nix: cannot create directory under /nix/store #8

Open sbellem opened 3 years ago

sbellem commented 3 years ago

Question to ask at https://discourse.nixos.org/. Reached the current limit for today. Ask tomorrow.

When trying to build a derivation, say foo.nix, with nix-build foo.nix I get the following error:

mkdir: cannot create directory '/nix/store/.../_build': Permission denied

The builder of the derivation is custom, and is like so:

# builder.sh
source $stdenv/setup

make sometarget
# ...