1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 13:10:33 +00:00

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
This commit is contained in:
Igor Pashev 2014-10-09 20:48:23 +04:00
parent a172b4b1f8
commit 0635f1640f

View file

@ -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;