From 03fd95d248b917def2bfc28cbccab05b8b7e0544 Mon Sep 17 00:00:00 2001 From: Austin Seipp Date: Sat, 19 Jul 2014 19:44:08 -0500 Subject: [PATCH] hhvm: Fix path to /bin/bash Signed-off-by: Austin Seipp --- pkgs/development/compilers/hhvm/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/development/compilers/hhvm/default.nix b/pkgs/development/compilers/hhvm/default.nix index 0b782df2bafb..a0f47839157f 100644 --- a/pkgs/development/compilers/hhvm/default.nix +++ b/pkgs/development/compilers/hhvm/default.nix @@ -2,7 +2,7 @@ , libevent, gd, curl, libxml2, icu, flex, bison, openssl, zlib, php, re2c , expat, libcap, oniguruma, libdwarf, libmcrypt, tbb, gperftools, glog , bzip2, openldap, readline, libelf, uwimap, binutils, cyrus_sasl, pam, libpng -, libxslt, ocaml +, libxslt, ocaml, bash }: stdenv.mkDerivation rec { @@ -34,6 +34,8 @@ stdenv.mkDerivation rec { patchPhase = '' substituteInPlace hphp/util/generate-buildinfo.sh \ --replace /bin/bash ${stdenv.shell} + substituteInPlace ./configure \ + --replace "/usr/bin/env bash" ${stdenv.shell} ''; installPhase = '' mkdir -p $out/bin $out/lib