1
0
Fork 0
This commit is contained in:
Malte Brandy 2021-06-02 02:33:20 +02:00
parent 831fe39bf9
commit 084993f5d9
No known key found for this signature in database
GPG key ID: 226A2D41EF5378C9
2 changed files with 2 additions and 3 deletions

View file

@ -2,8 +2,7 @@
with lib; with lib;
let let
dag = config.lib.dag; dag = config.lib.dag;
nvd = import pkgs.sources.nvd { inherit pkgs; };
in in
{ {
home.activation.report-changes = dag.entryAnywhere "${nvd}/bin/nvd diff $oldGenPath $newGenPath"; home.activation.report-changes = dag.entryAnywhere "${pkgs.nvd}/bin/nvd diff $oldGenPath $newGenPath";
} }

View file

@ -6,7 +6,7 @@ in
update-system = pkgs.writeHaskellScript update-system = pkgs.writeHaskellScript
{ {
name = "update-system"; name = "update-system";
bins = [ nixos-rebuild pkgs.nix-output-monitor (import pkgs.sources.nvd { inherit pkgs; }) ]; bins = [ nixos-rebuild pkgs.nix-output-monitor pkgs.nvd ];
} '' } ''
main = do main = do
paths <- myNixPath "${configPath}" paths <- myNixPath "${configPath}"