git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #36171 from dtzWill/fix/gecode_3

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

commit0ea54b19070b2a92e2d1a170a1e7cd65fb5bca5f authorJörg Thalheim <Mic92@users.noreply.github.com> dateSun 4 Mar 2018, 06:03 (9 years ago) parent9e1548dfbaa334
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;