Fix nvd
This commit is contained in:
parent
831fe39bf9
commit
084993f5d9
|
@ -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";
|
||||||
}
|
}
|
||||||
|
|
|
@ -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}"
|
||||||
|
|
Loading…
Reference in a new issue