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