nixpkgs/pkgs/tools/nix/nix-output-monitor/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
629 B
Nix
Raw Normal View History

2022-03-07 22:24:22 +00:00
{
haskell,
2022-03-07 22:24:22 +00:00
expect,
haskellPackages,
installShellFiles,
}: let
inherit (haskell.lib.compose) justStaticExecutables overrideCabal;
overrides = {
passthru.updateScript = ./update.sh;
testTarget = "unit-tests";
buildTools = [installShellFiles];
postInstall = ''
2022-10-15 13:28:37 +00:00
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
'';
mainProgram = "nom";
};
in
justStaticExecutables
(overrideCabal overrides
(haskellPackages.callPackage ./generated-package.nix {}))