diff options
author | sternenseemann <sternenseemann@systemli.org> | 2023-01-19 18:12:58 +0100 |
---|---|---|
committer | sternenseemann <sternenseemann@systemli.org> | 2023-01-22 13:02:18 +0100 |
commit | e75c36d0557a0631a91ebb0be72da20da1a4aefb (patch) | |
tree | fccfdab9ee38cc9ee79cfcf92ce7f506f561f1d2 | |
parent | f4148088127991d12594805b721616d4e4f5b5bf (diff) | |
download | nixpkgs-e75c36d0557a0631a91ebb0be72da20da1a4aefb.tar nixpkgs-e75c36d0557a0631a91ebb0be72da20da1a4aefb.tar.gz nixpkgs-e75c36d0557a0631a91ebb0be72da20da1a4aefb.tar.bz2 nixpkgs-e75c36d0557a0631a91ebb0be72da20da1a4aefb.tar.lz nixpkgs-e75c36d0557a0631a91ebb0be72da20da1a4aefb.tar.xz nixpkgs-e75c36d0557a0631a91ebb0be72da20da1a4aefb.tar.zst nixpkgs-e75c36d0557a0631a91ebb0be72da20da1a4aefb.zip |
haskellPackages.ghcWithPackages: suppport ghcs without doc output
This is the case for all bindist-based GHC derivations.
-rw-r--r-- | pkgs/development/haskell-modules/with-packages-wrapper.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/haskell-modules/with-packages-wrapper.nix b/pkgs/development/haskell-modules/with-packages-wrapper.nix index eaf9a6b3b16..77ccd301b43 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 |