gecode_3: use bash to run "configure", fix error

Error:

/configure: ./configure.lineno: line 11561: syntax error: unexpected "("
This commit is contained in:
Will Dietz 2018-03-01 09:14:01 -06:00
parent 7c77ab5100
commit fbaa334bcd

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, perl }:
{ stdenv, fetchurl, bash, perl }:
stdenv.mkDerivation rec {
name = "gecode-${version}";
@ -9,7 +9,9 @@ stdenv.mkDerivation rec {
sha256 = "0k45jas6p3cyldgyir1314ja3174sayn2h2ly3z9b4dl3368pk77";
};
buildInputs = [ perl ];
nativeBuildInputs = [ bash perl ];
preConfigure = "patchShebangs configure";
meta = with stdenv.lib; {
license = licenses.mit;