diff --git a/pkgs/development/haskell-modules/with-packages-wrapper.nix b/pkgs/development/haskell-modules/with-packages-wrapper.nix index eaf9a6b3b16a..77ccd301b43f 100644 --- a/pkgs/development/haskell-modules/with-packages-wrapper.nix +++ b/pkgs/development/haskell-modules/with-packages-wrapper.nix @@ -79,7 +79,7 @@ symlinkJoin { name = ghc.name + "-with-packages"; paths = paths ++ [ ghc ] - ++ lib.optionals installDocumentation [ ghc.doc ]; + ++ lib.optionals installDocumentation [ (lib.getOutput "doc" ghc) ]; nativeBuildInputs = [ makeWrapper ]; postBuild = '' # wrap compiler executables with correct env variables