Skip to content

Commit 2abe5fe

Browse files
committedDec 20, 2017
ghcWithPackages: allow configuration of extraOutputsToInstall
1 parent a0b51de commit 2abe5fe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎pkgs/development/haskell-modules/with-packages-wrapper.nix

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
, postBuild ? ""
44
, haskellPackages
55
, ghcLibdir ? null # only used by ghcjs, when resolving plugins
6+
, extraOutputsToInstall ? [ "out" "doc" "lib" ]
67
}:
78

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

0 commit comments

Comments
 (0)
Please sign in to comment.