mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-25 17:55:21 +00:00
haskell.generic-builder: select matching Haddock when cross documentation is enabled (#553415)
This commit is contained in:
@@ -351,6 +351,7 @@ let
|
||||
"--with-hsc2hs=${ghc.targetPrefix}hsc2hs"
|
||||
"--with-strip=${stdenv.cc.bintools.targetPrefix}strip"
|
||||
]
|
||||
++ optional doHaddock "--with-haddock=${ghc.targetPrefix}haddock"
|
||||
++ optionals (!isHaLVM) [
|
||||
"--hsc2hs-option=--cross-compile"
|
||||
(optionalString enableHsc2hsViaAsm "--hsc2hs-option=--via-asm")
|
||||
|
||||
Reference in New Issue
Block a user