haskellPackages.mkDerivation: Use native hsc2hs when cross-compiling
This commit is contained in:
parent
4687b6142c
commit
60918113af
|
@ -94,6 +94,7 @@ let
|
||||||
"--with-gcc=${ghc.cc}"
|
"--with-gcc=${ghc.cc}"
|
||||||
"--with-ld=${ghc.ld}"
|
"--with-ld=${ghc.ld}"
|
||||||
"--hsc2hs-options=--cross-compile"
|
"--hsc2hs-options=--cross-compile"
|
||||||
|
"--with-hsc2hs=${nativeGhc}/bin/hsc2hs"
|
||||||
];
|
];
|
||||||
|
|
||||||
crossCabalFlagsString =
|
crossCabalFlagsString =
|
||||||
|
|
Loading…
Reference in a new issue