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
Somewhat related to #279. I have a tmpfs-as-root system, so it makes more sense to build images in a different root:
❯ df -HT /tmp /zpool/tmp
Filesystem Type Size Used Avail Use% Mounted on
tmpfs tmpfs 4.3G 1.3G 3.1G 30% /
zpool/tmp zfs 697G 1.1G 696G 1% /zpool/tmp
❯ export TMPDIR=/zpool/tmp
❯ nix run github:nix-community/nixos-generators -- --format do --flake '.#vm' -o ./result
But my desginated TMPDIR sits empty while all the action still happens in /tmp:
❯ ls -l /zpool/tmp/nix-build-370889-0
❯ ls -l /tmp/nix-build-digital-ocean-image.drv-0
drwxr-xr-x - nixbld1 11 Feb 16:01 root
drwxr-xr-x - nixbld1 11 Feb 16:01 state
drwxr-xr-x - nixbld1 11 Feb 16:01 xchg
you probably have a nix-daemon, so you need to change TMPDIR of the daemon and not your user. Probably something like this in your nixos configuration:
Somewhat related to #279. I have a tmpfs-as-root system, so it makes more sense to build images in a different root:
But my desginated
TMPDIR
sits empty while all the action still happens in/tmp
:nix log '/nix/store/d8w7jrsz4x91sf8ml0h6ybciwhma8wsp-digital-ocean-image.drv^out' | tail -50
The text was updated successfully, but these errors were encountered: