xcode-sdk-pkgs: add sdk to extraPackages

this gives you access to libraries like Foundation.
This commit is contained in:
Matthew Bauer 2019-02-25 20:01:14 -05:00
parent ca6e93155b
commit 1e7bac9401

View File

@ -43,6 +43,7 @@ rec {
cc = clang-unwrapped;
bintools = binutils;
libc = targetIosSdkPkgs.libraries;
extraPackages = [ "${sdk}/System" ];
extraBuildCommands = ''
tr '\n' ' ' < $out/nix-support/cc-cflags > cc-cflags.tmp
mv cc-cflags.tmp $out/nix-support/cc-cflags