summary refs log tree commit diff
path: root/pkgs/tools/archivers/atool
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2014-10-09 20:48:23 +0400
committerIgor Pashev <pashev.igor@gmail.com>2014-10-09 21:59:46 +0400
commit0635f1640fd1038c0143c8361ef8c41c3f184974 (patch)
treea817815da5ed1723e458730ca8d57043b11c7166 /pkgs/tools/archivers/atool
parenta172b4b1f8c9e9e20fe41d874f889ffa159c9e2c (diff)
downloadnixpkgs-0635f1640fd1038c0143c8361ef8c41c3f184974.tar
nixpkgs-0635f1640fd1038c0143c8361ef8c41c3f184974.tar.gz
nixpkgs-0635f1640fd1038c0143c8361ef8c41c3f184974.tar.bz2
nixpkgs-0635f1640fd1038c0143c8361ef8c41c3f184974.tar.lz
nixpkgs-0635f1640fd1038c0143c8361ef8c41c3f184974.tar.xz
nixpkgs-0635f1640fd1038c0143c8361ef8c41c3f184974.tar.zst
nixpkgs-0635f1640fd1038c0143c8361ef8c41c3f184974.zip
atool's configure script uses bashizm
if test "${startperl:0:1}" = "#" ; then
  startperl="\\$startperl"
fi

This results in an error:
checking for perl... /nix/store/6qvjjaywj6qf8jn9splpiz9qap01w36w-perl-5.16.3/bin/perl
./configure: 2264: ./configure.lineno: Bad substitution
builder for ‘/nix/store/nk9y51xlzsbkhswc5cpl3hkryg2xw85g-atool-0.39.0.drv’ failed with exit code 2
Diffstat (limited to 'pkgs/tools/archivers/atool')
-rw-r--r--pkgs/tools/archivers/atool/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/tools/archivers/atool/default.nix b/pkgs/tools/archivers/atool/default.nix
index 1db7a7a42eb..7e2934a8f88 100644
--- a/pkgs/tools/archivers/atool/default.nix
+++ b/pkgs/tools/archivers/atool/default.nix
@@ -1,4 +1,4 @@
-{stdenv, fetchurl, perl}:
+{stdenv, fetchurl, perl, bash}:
 
 stdenv.mkDerivation rec {
   name = "atool-0.39.0";
@@ -8,6 +8,7 @@ stdenv.mkDerivation rec {
   };
 
   buildInputs = [ perl ];
+  configureScript = "${bash}/bin/bash configure";
 
   meta = {
     homepage = http://www.nongnu.org/atool;