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:
@@ -22,8 +22,10 @@ appleDerivation {
|
||||
installPhase = ''
|
||||
install -D Products/Release/libdisk.a $out/lib/libdisk.a
|
||||
rm Products/Release/libdisk.a
|
||||
for bin in Products/Release/*; do
|
||||
install -D $bin $out/bin/$(basename $bin)
|
||||
for f in Products/Release/*; do
|
||||
if [ -f $f ]; then
|
||||
install -D $file $out/bin/$(basename $f)
|
||||
done
|
||||
done
|
||||
'';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user