summaryrefslogtreecommitdiffstats
path: root/pkgs/tools/archivers/sharutils
diff options
context:
space:
mode:
authorWill Dietz <w@wdtz.org>2018-01-03 17:26:59 -0600
committerWill Dietz <w@wdtz.org>2018-01-06 14:44:36 -0600
commit2b230efb7f45a5035186b233952aea11a90af7d9 (patch)
tree86bf560e7a88474d026fa73dbeb7f5298406062c /pkgs/tools/archivers/sharutils
parent3e87443100d0acf72f2f802aac2014fe715dc6f0 (diff)
sharutils: don't hardcode AR to 'ar' (doesn't exist on cross)
Instead, let the default value of $AR indicate what should be used. (which will be something like `armv6l-unknown-linux-gnueabihf-ar`)
Diffstat (limited to 'pkgs/tools/archivers/sharutils')
-rw-r--r--pkgs/tools/archivers/sharutils/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/tools/archivers/sharutils/default.nix b/pkgs/tools/archivers/sharutils/default.nix
index 9f161ac7525a..022814689428 100644
--- a/pkgs/tools/archivers/sharutils/default.nix
+++ b/pkgs/tools/archivers/sharutils/default.nix
@@ -28,6 +28,8 @@ stdenv.mkDerivation rec {
in ''
substituteInPlace tests/shar-1 --replace '${shar_sub}' '${shar_sub} -s submitter'
substituteInPlace tests/shar-2 --replace '${shar_sub}' '${shar_sub} -s submitter'
+
+ substituteInPlace intl/Makefile.in --replace "AR = ar" ""
'';
doCheck = true;