From 545c48e8448b10b22a8e4ceb5eb2f688d08a2f10 Mon Sep 17 00:00:00 2001 From: Jonas Chevalier Date: Mon, 14 Dec 2020 15:01:36 +0000 Subject: [PATCH] niv: only build the executable (#106906) Installing `pkgs.niv` shouldn't pull all of GHC. Fixes https://github.com/nmattia/niv/issues/299 --- pkgs/top-level/all-packages.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index bcb3fd6b2483..e5d8361657ed 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -12500,7 +12500,7 @@ in hercules-ci-agent = callPackage ../development/tools/continuous-integration/hercules-ci-agent { }; - niv = haskellPackages.niv.bin; + niv = haskell.lib.justStaticExecutables haskellPackages.niv; ormolu = haskellPackages.ormolu.bin;