summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorThomas Tuegel <ttuegel@mailbox.org>2017-07-22 19:36:55 -0500
committerThomas Tuegel <ttuegel@mailbox.org>2017-07-22 19:36:55 -0500
commit4f88ceff49792d1e57f8af269400e2b7a74d0db5 (patch)
treeb57fc1043dc5b26a207cfbf60d3b85827afa304a /pkgs
parent4b14212914faac8a4d0dd3a6e0ff66cf4a1e1484 (diff)
downloadnixlib-4f88ceff49792d1e57f8af269400e2b7a74d0db5.tar
nixlib-4f88ceff49792d1e57f8af269400e2b7a74d0db5.tar.gz
nixlib-4f88ceff49792d1e57f8af269400e2b7a74d0db5.tar.bz2
nixlib-4f88ceff49792d1e57f8af269400e2b7a74d0db5.tar.lz
nixlib-4f88ceff49792d1e57f8af269400e2b7a74d0db5.tar.xz
nixlib-4f88ceff49792d1e57f8af269400e2b7a74d0db5.tar.zst
nixlib-4f88ceff49792d1e57f8af269400e2b7a74d0db5.zip
jam: unset AR
Commit 093cc00cdd9d8cf31ecce5bc1dd3645c460a1b98 sets the AR environment variable
by default, but this causes the jam Makefile to use the wrong command.
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/tools/build-managers/jam/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/development/tools/build-managers/jam/default.nix b/pkgs/development/tools/build-managers/jam/default.nix
index c0d152ee7a2f..7314643530e8 100644
--- a/pkgs/development/tools/build-managers/jam/default.nix
+++ b/pkgs/development/tools/build-managers/jam/default.nix
@@ -10,6 +10,10 @@ stdenv.mkDerivation rec {
 
   nativeBuildInputs = [ yacc ];
 
+  preConfigure = ''
+    unset AR
+  '';
+
   buildPhase = ''
     make jam0
     ./jam0 -j$NIX_BUILD_CORES -sBINDIR=$out/bin install