git.iko.soy/typeable/nixpkgs
on master help sign in
gecode_3: use bash to run "configure", fix error

Error: /configure: ./configure.lineno: line 11561: syntax error: unexpected "("

commitfbaa334bcdfa59ca7603bcc9694d2aa3b7d5e8f4 authorWill Dietz <w@wdtz.org> dateThu 1 Mar 2018, 09:14 (9 years ago) parent7c77ab5
1 file changed+4−2
pkgs/development/libraries/gecode/3.nix+4−2
pkgs/development/libraries/gecode/3.nix+4−2
@@ -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;