haskellPackages.ghcWithPackages: suppport ghcs without doc output
This is the case for all bindist-based GHC derivations.
This commit is contained in:
parent
f414808812
commit
e75c36d055
@ -79,7 +79,7 @@ symlinkJoin {
|
|||||||
name = ghc.name + "-with-packages";
|
name = ghc.name + "-with-packages";
|
||||||
paths = paths
|
paths = paths
|
||||||
++ [ ghc ]
|
++ [ ghc ]
|
||||||
++ lib.optionals installDocumentation [ ghc.doc ];
|
++ lib.optionals installDocumentation [ (lib.getOutput "doc" ghc) ];
|
||||||
nativeBuildInputs = [ makeWrapper ];
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
postBuild = ''
|
postBuild = ''
|
||||||
# wrap compiler executables with correct env variables
|
# wrap compiler executables with correct env variables
|
||||||
|
Loading…
Reference in New Issue
Block a user