nix: nix-diff script

This commit is contained in:
Primrose 2024-08-02 12:20:41 +02:00
parent ee398bfe6c
commit 7dbd39f87c
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA
3 changed files with 68 additions and 1 deletions

View file

@ -25,6 +25,20 @@
};
};
devShells.default = pkgs.mkShellNoCC { shellHook = config.pre-commit.installationScript; };
devShells.default = pkgs.mkShellNoCC {
shellHook = config.pre-commit.installationScript;
packages =
let
nix-diff = pkgs.writeShellApplication {
name = "nix-diff";
runtimeInputs = [
pkgs.nix-output-monitor
pkgs.nvd
];
text = builtins.readFile ./nix-diff.sh;
};
in
[ nix-diff ];
};
};
}