niv: only build the executable (#106906)

Installing `pkgs.niv` shouldn't pull all of GHC.

Fixes https://github.com/nmattia/niv/issues/299
This commit is contained in:
Jonas Chevalier 2020-12-14 15:01:36 +00:00 committed by GitHub
parent 93a4baf5a6
commit 545c48e844
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;