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:
parent
d0dc91d24f
commit
4f522648cb
@ -32,8 +32,11 @@ appleDerivation {
|
||||
|
||||
# temporary install phase until xcodebuild has "install" support
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin/
|
||||
install Products/Release/* $out/bin/
|
||||
for f in Products/Release/*; do
|
||||
if [ -f $f ]; then
|
||||
install -D $file $out/bin/$(basename $f)
|
||||
done
|
||||
done
|
||||
|
||||
for n in 1 8; do
|
||||
mkdir -p $out/share/man/man$n
|
||||
|
@ -13,8 +13,11 @@ appleDerivation rec {
|
||||
|
||||
# temporary install phase until xcodebuild has "install" support
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin/
|
||||
install Products/Release/* $out/bin/
|
||||
for f in Products/Release/*; do
|
||||
if [ -f $f ]; then
|
||||
install -D $file $out/usr/bin/$(basename $f)
|
||||
fi
|
||||
done
|
||||
|
||||
for n in 1; do
|
||||
mkdir -p $out/share/man/man$n
|
||||
|
@ -10,8 +10,11 @@ appleDerivation rec {
|
||||
|
||||
# temporary install phase until xcodebuild has "install" support
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin/
|
||||
install Products/Release/* $out/bin/
|
||||
for f in Products/Release/*; do
|
||||
if [ -f $f ]; then
|
||||
install -D $f $out/bin/$(basename $f)
|
||||
fi
|
||||
done
|
||||
|
||||
for n in 1; do
|
||||
mkdir -p $out/share/man/man$n
|
||||
|
@ -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
|
||||
'';
|
||||
|
||||
|
@ -19,8 +19,11 @@ appleDerivation rec {
|
||||
|
||||
# temporary install phase until xcodebuild has "install" support
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin/
|
||||
install Products/Release/* $out/bin
|
||||
for f in Products/Release/*; do
|
||||
if [ -f $f ]; then
|
||||
install -D $file $out/bin/$(basename $f)
|
||||
done
|
||||
done
|
||||
|
||||
for n in 1; do
|
||||
mkdir -p $out/share/man/man$n
|
||||
|
@ -20,8 +20,11 @@ appleDerivation rec {
|
||||
|
||||
# temporary install phase until xcodebuild has "install" support
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin/
|
||||
install Products/Release/* $out/bin/
|
||||
for f in Products/Release/*; do
|
||||
if [ -f $f ]; then
|
||||
install -D $file $out/bin/$(basename $f)
|
||||
done
|
||||
done
|
||||
|
||||
for n in 1 5; do
|
||||
mkdir -p $out/share/man/man$n
|
||||
|
@ -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
|
||||
|
@ -13,9 +13,10 @@ appleDerivation {
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
for f in Products/Release/*; do
|
||||
install -D $f $out/bin/$(basename $f)
|
||||
if [ -f $f ]; then
|
||||
install -D $f $out/bin/$(basename $f)
|
||||
fi
|
||||
done
|
||||
'';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user