@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, perl }:
1+{ stdenv, fetchurl, bash, perl }:
22
33stdenv.mkDerivation rec {
44 name = "gecode-${version}";
@@ -9,7 +9,9 @@ stdenv.mkDerivation rec {
99 sha256 = "0k45jas6p3cyldgyir1314ja3174sayn2h2ly3z9b4dl3368pk77";
1010 };
1111
12− buildInputs = [ perl ];
12+ nativeBuildInputs = [ bash perl ];
13+
14+ preConfigure = "patchShebangs configure";
1315
1416 meta = with stdenv.lib; {
1517 license = licenses.mit;