nixpkgs/pkgs/tools/nix/nix-output-monitor/default.nix
maralorn 4414a2d948 nix-output-monitor: 2.0.0.5 -> 2.0.0.6
* Small improvements in error reporting.
* Significant performance improvements.
2023-05-14 23:11:42 +02:00

32 lines
754 B
Nix
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
haskell,
haskellPackages,
installShellFiles,
lib,
}: let
inherit (haskell.lib.compose) justStaticExecutables overrideCabal;
overrides = {
passthru.updateScript = ./update.sh;
# nom has unit-tests and golden-tests
# golden-tests call nix and thus cant be run in a nix build.
testTarget = "unit-tests";
buildTools = [installShellFiles];
postInstall = ''
ln -s nom "$out/bin/nom-build"
ln -s nom "$out/bin/nom-shell"
chmod a+x $out/bin/nom-build
installShellCompletion --zsh --name _nom-build completions/completion.zsh
'';
};
raw-pkg = haskellPackages.callPackage ./generated-package.nix {};
in
lib.pipe
raw-pkg
[
(overrideCabal overrides)
justStaticExecutables
]