From 4f88ceff49792d1e57f8af269400e2b7a74d0db5 Mon Sep 17 00:00:00 2001 From: Thomas Tuegel Date: Sat, 22 Jul 2017 19:36:55 -0500 Subject: [PATCH] jam: unset AR Commit 093cc00cdd9d8cf31ecce5bc1dd3645c460a1b98 sets the AR environment variable by default, but this causes the jam Makefile to use the wrong command. --- pkgs/development/tools/build-managers/jam/default.nix | 4 ++++ 1 file changed, 4 insertions(+) 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