hhvm: Fix path to /bin/bash

Signed-off-by: Austin Seipp <aseipp@pobox.com>
This commit is contained in:
Austin Seipp 2014-07-19 19:44:08 -05:00
parent 713379c658
commit 03fd95d248

View File

@ -2,7 +2,7 @@
, libevent, gd, curl, libxml2, icu, flex, bison, openssl, zlib, php, re2c , libevent, gd, curl, libxml2, icu, flex, bison, openssl, zlib, php, re2c
, expat, libcap, oniguruma, libdwarf, libmcrypt, tbb, gperftools, glog , expat, libcap, oniguruma, libdwarf, libmcrypt, tbb, gperftools, glog
, bzip2, openldap, readline, libelf, uwimap, binutils, cyrus_sasl, pam, libpng , bzip2, openldap, readline, libelf, uwimap, binutils, cyrus_sasl, pam, libpng
, libxslt, ocaml , libxslt, ocaml, bash
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -34,6 +34,8 @@ stdenv.mkDerivation rec {
patchPhase = '' patchPhase = ''
substituteInPlace hphp/util/generate-buildinfo.sh \ substituteInPlace hphp/util/generate-buildinfo.sh \
--replace /bin/bash ${stdenv.shell} --replace /bin/bash ${stdenv.shell}
substituteInPlace ./configure \
--replace "/usr/bin/env bash" ${stdenv.shell}
''; '';
installPhase = '' installPhase = ''
mkdir -p $out/bin $out/lib mkdir -p $out/bin $out/lib