fix(nix): fail fast when bootstrap is unavailable

This commit is contained in:
2026-03-26 07:56:55 +01:00
parent 0e7e23dce5
commit bc57172d92
4 changed files with 11 additions and 9 deletions

View File

@@ -62,7 +62,7 @@ rm -rf \
%{buildroot}/usr/lib/package-manager/.gitkeep || true
%post
/usr/lib/package-manager/nix/init.sh || echo ">>> ERROR: /usr/lib/package-manager/nix/init.sh not found or not executable."
/usr/lib/package-manager/nix/init.sh
%postun
echo ">>> package-manager removed. Nix itself was not removed."