mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 05:43:50 +03:00
arcanist: Fix php exec (needed for arc diff)
Signed-off-by: Austin Seipp <aseipp@pobox.com>
This commit is contained in:
parent
a3d747da15
commit
7b0736b7c0
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user