diff options
-rw-r--r-- | pkgs/development/tools/misc/arcanist/default.nix | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/pkgs/development/tools/misc/arcanist/default.nix b/pkgs/development/tools/misc/arcanist/default.nix index add2f8621b07d..58957a82752ac 100644 --- a/pkgs/development/tools/misc/arcanist/default.nix +++ b/pkgs/development/tools/misc/arcanist/default.nix @@ -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 = { |