You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## FIX for running out of space / tmp, which is used for buildingfileSystems."/nix/.rw-store"={fsType="tmpfs";# options = [ "mode=0755" ];options=["mode=0755""nosuid""nodev""relatime""size=14G"];neededForBoot=true;};
However, if nix has to build a derivation, it has to spin up a builder... And builders run in a user namespace with uids and gids mapped and significantly less permissions. That builder is what's spitting out that error.
From: NixOS/nixpkgs#67465 (comment)
$ nix build github:nix-community/nix-installers/93907b1b4a34b4391bc3e776a410213669f64074#deb
$ ls -al result
lrwxrwxrwx 1 pedro pedro 68 jul 6 13:04 result -> /nix/store/a6li3c1in0cia6a4nsmy4nnvh3b550hq-nix-multi-user-2.9.1.deb
TODO:
Checking environment variables
https://stackoverflow.com/a/39119103
The /tmp thing
The
~/tmp
and/or/tmp
:No space left on device when using docker-compose, why ?
TMPDIR handling by nix-shell NixOS/nix#395 (comment)
TMPDIR handling by nix-shell NixOS/nix#395 (comment)
nix develop: use proper permissions for $TMPDIR NixOS/nix#6974 (comment)
About
xattrs
in the DeterminateSystems . I think the tmpfs, in some situations does not have thisxattrs
thing.Refs.:
From: https://githubmemory.com/repo/colemickens/nixcfg/issues/3
Remote builders
The text was updated successfully, but these errors were encountered: