apple-source-releases: Add some meta.platforms

Or Hydra tries to build them on Linux...
This commit is contained in:
Tuomas Tynkkynen 2017-09-04 19:04:05 +03:00
parent 19387e3123
commit e6a83ed89c
6 changed files with 24 additions and 0 deletions

View File

@ -41,4 +41,8 @@ appleDerivation {
--replace '/bin/rmdir' "rmdir" \ --replace '/bin/rmdir' "rmdir" \
--replace 'C=''${MIGCC}' "C=cc" --replace 'C=''${MIGCC}' "C=cc"
''; '';
meta = {
platforms = stdenv.lib.platforms.darwin;
};
} }

View File

@ -42,4 +42,8 @@ appleDerivation {
preFixup = '' preFixup = ''
wrapProgram "$out/bin/bsdmake" --add-flags "-m $out/share/mk" wrapProgram "$out/bin/bsdmake" --add-flags "-m $out/share/mk"
''; '';
meta = {
platforms = stdenv.lib.platforms.darwin;
};
} }

View File

@ -77,4 +77,8 @@ appleDerivation {
cp auto_zone.h auto_weak.h auto_tester/auto_tester.h auto_gdb_interface.h $out/include cp auto_zone.h auto_weak.h auto_tester/auto_tester.h auto_gdb_interface.h $out/include
cp libauto.dylib $out/lib cp libauto.dylib $out/lib
''; '';
meta = {
platforms = stdenv.lib.platforms.darwin;
};
} }

View File

@ -13,4 +13,8 @@ appleDerivation {
-Wl,-reexport_library -Wl,$out/lib/libiconv-nocharset.dylib \ -Wl,-reexport_library -Wl,$out/lib/libiconv-nocharset.dylib \
-Wl,-reexport_library -Wl,$out/lib/libcharset.dylib -Wl,-reexport_library -Wl,$out/lib/libcharset.dylib
''; '';
meta = {
platforms = stdenv.lib.platforms.darwin;
};
} }

View File

@ -16,4 +16,8 @@ appleDerivation {
cp -r sys $out/include cp -r sys $out/include
cp -r sys/_pthread/*.h $out/include/sys/_types/ cp -r sys/_pthread/*.h $out/include/sys/_types/
''; '';
meta = {
platforms = stdenv.lib.platforms.darwin;
};
} }

View File

@ -127,4 +127,8 @@ appleDerivation {
mkdir $out/Library/PrivateFrameworks mkdir $out/Library/PrivateFrameworks
mv $out/Library/Frameworks/IOKit.framework $out/Library/PrivateFrameworks mv $out/Library/Frameworks/IOKit.framework $out/Library/PrivateFrameworks
''; '';
meta = {
platforms = stdenv.lib.platforms.darwin;
};
} }