darwin: fix *_cmds installation
These just copy commands from Products/Release/. But with #52256 we now build .dsym directories that somehow wind up in Products/Release/. This makes things more exact by just copying the files in Products/Release/.
This commit is contained in:
@@ -28,8 +28,11 @@ appleDerivation rec {
|
||||
|
||||
# temporary install phase until xcodebuild has "install" support
|
||||
installPhase = ''
|
||||
mkdir -p $out/usr/bin
|
||||
install Products/Release/* $out/usr/bin
|
||||
for f in Products/Release/*; do
|
||||
if [ -f $f ]; then
|
||||
install -D $f $out/usr/bin/$(basename $f)
|
||||
fi
|
||||
done
|
||||
|
||||
export DSTROOT=$out
|
||||
export SRCROOT=$PWD
|
||||
|
||||
Reference in New Issue
Block a user