workaround determinate installer

This commit is contained in:
Daylin Morgan 2024-11-18 12:20:16 -06:00
parent 734c5b0f8f
commit 774f35bfec
Signed by: daylin
GPG key ID: 950D13E9719334AD

View file

@ -49,7 +49,9 @@ Linux)
elif [ "$(findmnt -bno size /mnt)" -gt 20000000000 ]; then elif [ "$(findmnt -bno size /mnt)" -gt 20000000000 ]; then
df -h -x tmpfs df -h -x tmpfs
echo "/mnt is large, bind mount /mnt/nix" echo "/mnt is large, bind mount /mnt/nix"
sudo install -d -o "$RUNNER_USER" /mnt/nix /nix # sudo install -d -o "$RUNNER_USER" /mnt/nix /nix
# issue with determinate installer?
sudo install -d /mnt/nix /nix
sudo mount --bind /mnt/nix /nix sudo mount --bind /mnt/nix /nix
fi fi
;; ;;