Monorepo for Tangled tangled.org
2

Configure Feed

Select the types of activity you want to include in your feed.

spindle/engines/nixery: add build hoook to delete homeless-shelter between builds

bit of a hack, but some FOD-type builds create this dir in nested drv
builds and this seems to be the easiest way to get rid of it.

Signed-off-by: oppiliappan <me@oppi.li>

author
oppiliappan
committer
Tangled
date (May 11, 2026, 9:08 PM +0300) commit b601af9c parent 0e31e124 change-id roxwmuys
+5 -1
+5 -1
spindle/engines/nixery/setup_steps.go
··· 8 8 func nixConfStep() Step { 9 9 setupCmd := `mkdir -p /etc/nix 10 10 echo 'extra-experimental-features = nix-command flakes' >> /etc/nix/nix.conf 11 - echo 'build-users-group = ' >> /etc/nix/nix.conf` 11 + echo 'build-users-group = ' >> /etc/nix/nix.conf 12 + echo 'sandbox = false' >> /etc/nix/nix.conf 13 + printf '#!/bin/sh\nrm -rf /homeless-shelter\n' > /etc/nix/post-build-hook.sh 14 + chmod +x /etc/nix/post-build-hook.sh 15 + echo 'post-build-hook = /etc/nix/post-build-hook.sh' >> /etc/nix/nix.conf` 12 16 return Step{ 13 17 command: setupCmd, 14 18 name: "Configure Nix",