forked from mirrors/nixpkgs
Merge pull request #46872 from obsidiansystems/cross-haskell-ar-flag
haskell infra: Also pass `--with-ar` in cross builds
This commit is contained in:
commit
f4be0b45dd
|
@ -120,6 +120,7 @@ let
|
|||
"--with-ghc-pkg=${ghc.targetPrefix}ghc-pkg"
|
||||
"--with-gcc=${stdenv.cc.targetPrefix}cc"
|
||||
"--with-ld=${stdenv.cc.bintools.targetPrefix}ld"
|
||||
"--with-ar=${stdenv.cc.bintools.targetPrefix}ar"
|
||||
# use the one that comes with the cross compiler.
|
||||
"--with-hsc2hs=${ghc.targetPrefix}hsc2hs"
|
||||
"--with-strip=${stdenv.cc.bintools.targetPrefix}strip"
|
||||
|
|
Loading…
Reference in a new issue