script fix

This commit is contained in:
randogoth 2025-12-22 21:21:02 +02:00
parent d4e84b0e41
commit 4de510d1f9
2 changed files with 1 additions and 1 deletions

View file

@ -1,13 +0,0 @@
#!/usr/bin/env bash
set -euo pipefail
rpm_url="https://nix-community.github.io/nix-installers/nix/x86_64/nix-multi-user-2.24.10.rpm"
install -d /usr/share/nix-store /var/lib/nix-store /var/cache/nix-store /nix
dnf install -y "$rpm_url"
# Move the pre-populated store out of /nix so it can serve as the immutable lowerdir.
if compgen -G "/nix/*" >/dev/null; then
mv /nix/* /usr/share/nix-store/
fi