File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change 461
461
cabal_file=${ ghcSrc } /compiler/${ name } .cabal.in
462
462
elif [ -f ${ ghcSrc } /libraries/${ name } /${ name } .cabal.in ]; then
463
463
cabal_file=${ ghcSrc } /libraries/${ name } /${ name } .cabal.in
464
+ elif [ -f ${ ghcSrc } /utils/haddock/${ name } /${ name } .cabal ]; then
465
+ cabal_file=${ ghcSrc } /utils/haddock/${ name } /${ name } .cabal
464
466
fi
465
467
if [[ "$cabal_file" != "" ]]; then
466
468
fixed_cabal_file=$(mktemp)
Original file line number Diff line number Diff line change @@ -1126,6 +1126,9 @@ final: prev: {
1126
1126
"xhtml"
1127
1127
] ++ final . lib . optionals ( builtins . compareVersions ghc . version "9.4" > 0 ) [
1128
1128
"system-cxx-std-lib"
1129
+ ] ++ final . lib . optionals ( builtins . compareVersions ghc . version "9.12" > 0 ) [
1130
+ "haddock-api"
1131
+ "haddock-library"
1129
1132
] ++ final . lib . optionals (
1130
1133
! final . stdenv . targetPlatform . isGhcjs
1131
1134
&& ! final . stdenv . targetPlatform . isWindows
You can’t perform that action at this time.
0 commit comments