mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-09-29 23:52:55 +00:00
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-ld=${ghc.ld}"
|
||||
"--hsc2hs-options=--cross-compile"
|
||||
"--with-hsc2hs=${nativeGhc}/bin/hsc2hs"
|
||||
];
|
||||
|
||||
crossCabalFlagsString =
|
||||
|
Loading…
Reference in New Issue
Block a user