waf: move binary to $out/bin/
Originally this was just the executable, but this breaks nix-shell usage. Instead, just do a normal directory. Fixes #79909
This commit is contained in:
parent
93ba4ecd58
commit
dfbe76a681
@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
|
||||
python waf-light build${wafToolsArg}
|
||||
'';
|
||||
installPhase = ''
|
||||
install waf $out
|
||||
install -D waf $out/bin/waf
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
@ -3,7 +3,7 @@ wafConfigurePhase() {
|
||||
|
||||
if ! [ -f "${wafPath:=./waf}" ]; then
|
||||
echo "copying waf to $wafPath..."
|
||||
cp @waf@ "$wafPath"
|
||||
cp @waf@/bin/waf "$wafPath"
|
||||
fi
|
||||
|
||||
if [ -z "${dontAddPrefix:-}" ] && [ -n "$prefix" ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user