Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
sbellem opened this issue Oct 14, 2020 · 0 comments
Open

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

sbellem opened this issue Oct 14, 2020 · 0 comments

Comments

@sbellem
Copy link
Contributor

sbellem commented Oct 14, 2020

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
# ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant