haskellPackages.mkDerivation: Use native hsc2hs when cross-compiling

This commit is contained in:
Shea Levy 2017-01-11 13:26:08 -05:00
parent 4687b6142c
commit 60918113af

View file

@ -94,6 +94,7 @@ let
"--with-gcc=${ghc.cc}"
"--with-ld=${ghc.ld}"
"--hsc2hs-options=--cross-compile"
"--with-hsc2hs=${nativeGhc}/bin/hsc2hs"
];
crossCabalFlagsString =