lol

arcanist: add missing dependency 'which'

'arc' uses 'which' to find external programs at runtime.

+2 -1
+2 -1
pkgs/development/tools/misc/arcanist/default.nix
··· 5 5 , php 6 6 , lib, stdenv 7 7 , installShellFiles 8 + , which 8 9 }: 9 10 10 11 # Make a custom wrapper. If `wrapProgram` is used, arcanist thinks .arc-wrapped is being ··· 14 15 let makeArcWrapper = toolset: '' 15 16 cat << WRAPPER > $out/bin/${toolset} 16 17 #!$shell -e 17 - export PATH='${php}/bin/'\''${PATH:+':'}\$PATH 18 + export PATH='${php}/bin:${which}/bin'\''${PATH:+':'}\$PATH 18 19 exec ${php}/bin/php $out/libexec/arcanist/bin/${toolset} "\$@" 19 20 WRAPPER 20 21 chmod +x $out/bin/${toolset}