packages: use any nix for diff

microvms not necessarily need to have a nix, so this might be unbuilt
This commit is contained in:
Sandro - 2023-10-16 02:05:01 +02:00
parent 4824be0c2d
commit a0c72e8c49
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5
1 changed files with 1 additions and 1 deletions

View File

@ -175,7 +175,7 @@ lib.attrsets.mapAttrs
createSymlinks = name: ''
if [[ -e old ]]; then
echo System package diff:
${discardStringCtx hostConfig.nix.package.outPath}/bin/nix --extra-experimental-features nix-command store diff-closures ./old ./current || true
nix --extra-experimental-features nix-command store diff-closures ./old ./current || true
fi
ln -sfT \$PWD/current /nix/var/nix/gcroots/microvm/${name}