|
|
|
@ -14,6 +14,7 @@ mkDerivation rec { |
|
|
|
|
nativeBuildInputs = [ makeWrapper installShellFiles ]; |
|
|
|
|
|
|
|
|
|
installPhase = '' |
|
|
|
|
runHook preInstall |
|
|
|
|
mkdir -p $out/bin |
|
|
|
|
install -D $src $out/libexec/deployer/deployer.phar |
|
|
|
|
makeWrapper ${php}/bin/php $out/bin/dep --add-flags "$out/libexec/deployer/deployer.phar" |
|
|
|
@ -22,6 +23,7 @@ mkDerivation rec { |
|
|
|
|
installShellCompletion --cmd dep \ |
|
|
|
|
--bash <($out/bin/dep autocomplete --install) \ |
|
|
|
|
--zsh <($out/bin/dep autocomplete --install) |
|
|
|
|
runHook postInstall |
|
|
|
|
''; |
|
|
|
|
|
|
|
|
|
meta = with lib; { |
|
|
|
|