File tree Expand file tree Collapse file tree 2 files changed +10
-5
lines changed Expand file tree Collapse file tree 2 files changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -281,8 +281,7 @@ stdenv.mkDerivation ({
281
281
"--html" \
282
282
${ lib . optionalString doHoogle "--hoogle" } \
283
283
${ lib . optionalString hyperlinkSource "--hyperlink-source" } \
284
- ${ lib . concatStringsSep " " component . setupHaddockFlags } \
285
- || true # some packages don't have haddock documentation
284
+ ${ lib . concatStringsSep " " component . setupHaddockFlags }
286
285
287
286
html="dist/doc/html/${ componentId . cname } "
288
287
Original file line number Diff line number Diff line change 19
19
{ cabal-simple = ./cabal-simple.nix ;
20
20
}
21
21
] ;
22
- modules = [ ] ;
22
+ modules = [
23
+ {
24
+ # Package has no exposed modules which causes
25
+ # haddock: No input file(s)
26
+ packages . cabal-simple . doHaddock = false ;
27
+ }
28
+ ] ;
23
29
} ;
24
30
25
31
packages = pkgSet . config . hsPkgs ;
56
62
meta . platforms = platforms . all ;
57
63
58
64
passthru = {
59
- inherit ( packages ) cabal-simple ;
60
- inherit pkgSet ;
65
+ # Used for debugging with nix repl
66
+ inherit pkgSet packages ;
61
67
62
68
# Used for testing externally with nix-shell (../tests.sh).
63
69
# This just adds cabal-install to the existing shells.
You can’t perform that action at this time.
0 commit comments