Merge pull request #256 from qowoz/diff

upgrade-diff: add `nix-bin-dir` to nvd
This commit is contained in:
Jörg Thalheim 2023-09-27 09:34:28 +01:00 committed by GitHub
commit 3a0be0aa11
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,7 +6,7 @@
text = ''
if [[ -e /run/current-system ]]; then
echo "--- diff to current-system"
PATH=${config.nix.package}/bin:$PATH ${pkgs.nvd}/bin/nvd diff /run/current-system "$systemConfig"
${pkgs.nvd}/bin/nvd --nix-bin-dir=${config.nix.package}/bin diff /run/current-system "$systemConfig"
echo "---"
fi
'';