Skip to content

Commit

Permalink
ghcWithPackages: allow configuration of extraOutputsToInstall
Browse files Browse the repository at this point in the history
  • Loading branch information
domenkozar committed Dec 20, 2017
1 parent a0b51de commit 2abe5fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkgs/development/haskell-modules/with-packages-wrapper.nix
Expand Up @@ -3,6 +3,7 @@
, postBuild ? ""
, haskellPackages
, ghcLibdir ? null # only used by ghcjs, when resolving plugins
, extraOutputsToInstall ? [ "out" "doc" "lib" ]
}:

assert ghcLibdir != null -> (ghc.isGhcjs or false);
Expand Down Expand Up @@ -58,8 +59,7 @@ symlinkJoin {
# as a dedicated drv attribute, like `compiler-name`
name = ghc.name + "-with-packages";
paths = paths ++ [ghc];
extraOutputsToInstall = [ "out" "doc" "lib" ];
inherit ignoreCollisions;
inherit extraOutputsToInstall ignoreCollisions;
postBuild = ''
. ${makeWrapper}/nix-support/setup-hook
Expand Down

0 comments on commit 2abe5fe

Please sign in to comment.