diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2018-09-18 18:49:58 -0400 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2018-09-18 18:49:58 -0400 |
commit | 750933a17ceb4a6fed892c11f5d5219dbd91ad5b (patch) | |
tree | de0ce50f36d092b7533d3ee3e37efb5d0a23f70f | |
parent | 67694371869eaa43933f47f5cbcb87024945a72d (diff) | |
download | nixpkgs-750933a17ceb4a6fed892c11f5d5219dbd91ad5b.tar nixpkgs-750933a17ceb4a6fed892c11f5d5219dbd91ad5b.tar.gz nixpkgs-750933a17ceb4a6fed892c11f5d5219dbd91ad5b.tar.bz2 nixpkgs-750933a17ceb4a6fed892c11f5d5219dbd91ad5b.tar.lz nixpkgs-750933a17ceb4a6fed892c11f5d5219dbd91ad5b.tar.xz nixpkgs-750933a17ceb4a6fed892c11f5d5219dbd91ad5b.tar.zst nixpkgs-750933a17ceb4a6fed892c11f5d5219dbd91ad5b.zip |
haskell infra: Also pass `--with-ar` in cross builds
-rw-r--r-- | pkgs/development/haskell-modules/generic-builder.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/generic-builder.nix b/pkgs/development/haskell-modules/generic-builder.nix index 1b33954662d..be104a82fd7 100644 --- a/pkgs/development/haskell-modules/generic-builder.nix +++ b/pkgs/development/haskell-modules/generic-builder.nix @@ -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" |