mirror of
https://github.com/daylinmorgan/oizys.git
synced 2025-02-05 13:14:17 -06:00
nvd -> nix store diff-closures
This commit is contained in:
parent
e203b6cfa4
commit
763b1c349d
1 changed files with 1 additions and 11 deletions
|
@ -1,13 +1,9 @@
|
|||
{
|
||||
inputs,
|
||||
pkgs,
|
||||
lib,
|
||||
enabled,
|
||||
...
|
||||
}:
|
||||
let
|
||||
inherit (lib) makeBinPath;
|
||||
in
|
||||
{
|
||||
imports = [ inputs.nix-index-database.nixosModules.nix-index ];
|
||||
|
||||
|
@ -34,13 +30,7 @@ in
|
|||
|
||||
system.activationScripts.diff = ''
|
||||
if [[ -e /run/current-system ]]; then
|
||||
PATH=$PATH:${
|
||||
makeBinPath [
|
||||
pkgs.nvd
|
||||
pkgs.nix
|
||||
]
|
||||
}
|
||||
nvd diff /run/current-system "$systemConfig"
|
||||
${pkgs.nix}/bin/nix store diff-closures /run/current-system "$systemConfig"
|
||||
fi
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in a new issue