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
2 changed files with 2 additions and 2 deletions
|
@ -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 a new issue