Skip to content

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

@sbellem

Description

@sbellem

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
# ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions