Loading pkgs/tools/nix/nix-output-monitor/default.nix +9 −9 Original line number Diff line number Diff line { haskell, expect, haskellPackages, installShellFiles, lib 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 can’t be run in a nix build. testTarget = "unit-tests"; buildTools = [installShellFiles]; postInstall = '' ln -s nom "$out/bin/nom-build" Loading @@ -16,15 +20,11 @@ chmod a+x $out/bin/nom-build installShellCompletion --zsh --name _nom-build completions/completion.zsh ''; mainProgram = "nom"; }; nom-pkg = haskellPackages.callPackage ./generated-package.nix { }; nom-pkg-with-scope = nom-pkg.overrideScope (hfinal: hprev: { hermes-json = hfinal.hermes-json_0_2_0_1; }); raw-pkg = haskellPackages.callPackage ./generated-package.nix {}; in lib.pipe nom-pkg-with-scope raw-pkg [ (overrideCabal overrides) justStaticExecutables Loading pkgs/tools/nix/nix-output-monitor/generated-package.nix +9 −8 Original line number Diff line number Diff line Loading @@ -26,7 +26,7 @@ relude, safe, stm, streamly, streamly-core, strict, strict-types, terminal-size, Loading @@ -38,10 +38,10 @@ }: mkDerivation { pname = "nix-output-monitor"; version = "2.0.0.5"; version = "2.0.0.6"; src = fetchzip { url = "https://github.com/maralorn/nix-output-monitor/archive/refs/tags/v2.0.0.5.tar.gz"; sha256 = "02xrbf2nr64yfny3idkjb1xbd97wl8m5viifrwjf4hi6ivs5bl18"; url = "https://github.com/maralorn/nix-output-monitor/archive/refs/tags/v2.0.0.6.tar.gz"; sha256 = "1adxg2bws7fqbmzfna5hr28fh8j10gvf57j6b0xbkhh4hgj4h9xd"; }; isLibrary = true; isExecutable = true; Loading @@ -66,7 +66,7 @@ mkDerivation { relude safe stm streamly streamly-core strict strict-types terminal-size Loading Loading @@ -96,7 +96,7 @@ mkDerivation { relude safe stm streamly streamly-core strict strict-types terminal-size Loading Loading @@ -129,7 +129,7 @@ mkDerivation { relude safe stm streamly streamly-core strict strict-types terminal-size Loading @@ -142,5 +142,6 @@ mkDerivation { homepage = "https://github.com/maralorn/nix-output-monitor"; description = "Parses output of nix-build to show additional information"; license = lib.licenses.agpl3Plus; maintainers = with lib.maintainers; [maralorn]; mainProgram = "nom"; maintainers = [lib.maintainers.maralorn]; } Loading
pkgs/tools/nix/nix-output-monitor/default.nix +9 −9 Original line number Diff line number Diff line { haskell, expect, haskellPackages, installShellFiles, lib 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 can’t be run in a nix build. testTarget = "unit-tests"; buildTools = [installShellFiles]; postInstall = '' ln -s nom "$out/bin/nom-build" Loading @@ -16,15 +20,11 @@ chmod a+x $out/bin/nom-build installShellCompletion --zsh --name _nom-build completions/completion.zsh ''; mainProgram = "nom"; }; nom-pkg = haskellPackages.callPackage ./generated-package.nix { }; nom-pkg-with-scope = nom-pkg.overrideScope (hfinal: hprev: { hermes-json = hfinal.hermes-json_0_2_0_1; }); raw-pkg = haskellPackages.callPackage ./generated-package.nix {}; in lib.pipe nom-pkg-with-scope raw-pkg [ (overrideCabal overrides) justStaticExecutables Loading
pkgs/tools/nix/nix-output-monitor/generated-package.nix +9 −8 Original line number Diff line number Diff line Loading @@ -26,7 +26,7 @@ relude, safe, stm, streamly, streamly-core, strict, strict-types, terminal-size, Loading @@ -38,10 +38,10 @@ }: mkDerivation { pname = "nix-output-monitor"; version = "2.0.0.5"; version = "2.0.0.6"; src = fetchzip { url = "https://github.com/maralorn/nix-output-monitor/archive/refs/tags/v2.0.0.5.tar.gz"; sha256 = "02xrbf2nr64yfny3idkjb1xbd97wl8m5viifrwjf4hi6ivs5bl18"; url = "https://github.com/maralorn/nix-output-monitor/archive/refs/tags/v2.0.0.6.tar.gz"; sha256 = "1adxg2bws7fqbmzfna5hr28fh8j10gvf57j6b0xbkhh4hgj4h9xd"; }; isLibrary = true; isExecutable = true; Loading @@ -66,7 +66,7 @@ mkDerivation { relude safe stm streamly streamly-core strict strict-types terminal-size Loading Loading @@ -96,7 +96,7 @@ mkDerivation { relude safe stm streamly streamly-core strict strict-types terminal-size Loading Loading @@ -129,7 +129,7 @@ mkDerivation { relude safe stm streamly streamly-core strict strict-types terminal-size Loading @@ -142,5 +142,6 @@ mkDerivation { homepage = "https://github.com/maralorn/nix-output-monitor"; description = "Parses output of nix-build to show additional information"; license = lib.licenses.agpl3Plus; maintainers = with lib.maintainers; [maralorn]; mainProgram = "nom"; maintainers = [lib.maintainers.maralorn]; }