darwin: fix more *_cmds derivation

Doh
This commit is contained in:
Matthew Bauer 2019-01-06 22:31:21 -06:00
parent d02bb3c197
commit ed6148726b
4 changed files with 6 additions and 6 deletions

View file

@ -16,7 +16,8 @@ appleDerivation {
substituteInPlace adv_cmds.xcodeproj/project.pbxproj \
--replace "FD201DC214369B4200906237 /* pkill.c in Sources */," "" \
--replace "FDF278D60FC6204E00D7A3C6 /* locale.cc in Sources */," "" \
--replace '/usr/lib/libtermcap.dylib' 'libncurses.dylib'
--replace '/usr/lib/libtermcap.dylib' 'libncurses.dylib' \
--replace 'DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";' ""
'';
buildPhase = ''

View file

@ -21,8 +21,8 @@ appleDerivation rec {
installPhase = ''
for f in Products/Release/*; do
if [ -f $f ]; then
install -D $file $out/bin/$(basename $f)
done
install -D $f $out/bin/$(basename $f)
fi
done
for n in 1; do

View file

@ -22,7 +22,7 @@ appleDerivation rec {
installPhase = ''
for f in Products/Release/*; do
if [ -f $f ]; then
install -D $file $out/bin/$(basename $f)
install -D $f $out/bin/$(basename $f)
fi
done

View file

@ -11,9 +11,8 @@ stdenv.mkDerivation
nativeBuildInputs = [ xcbuildHook ];
installPhase =
''
prog=$(find . -type f -name insert_dylib)
mkdir -p $out/bin
install -m755 $prog $out/bin
install -m755 Products/Release/insert_dylib $out/bin
'';
meta.platforms = stdenv.lib.platforms.darwin;
}