3
0
Fork 0
forked from mirrors/nixpkgs

arcanist: Fix php exec (needed for arc diff)

Signed-off-by: Austin Seipp <aseipp@pobox.com>
This commit is contained in:
Austin Seipp 2014-05-30 15:19:12 -05:00
parent a3d747da15
commit 7b0736b7c0

View file

@ -1,4 +1,4 @@
{ stdenv, fetchgit, php }:
{ stdenv, fetchgit, php, makeWrapper }:
let
libphutil = fetchgit {
@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
version = "20140530";
src = [ arcanist libphutil ];
buildInputs = [ php ];
buildInputs = [ php makeWrapper ];
unpackPhase = "true";
buildPhase = "true";
@ -27,6 +27,9 @@ stdenv.mkDerivation rec {
cp -R ${arcanist} $out/libexec/arcanist
ln -s $out/libexec/arcanist/bin/arc $out/bin
wrapProgram $out/bin/arc \
--prefix PATH : "${php}/bin"
'';
meta = {