mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-21 20:49:52 +03:00
xcode-sdk-pkgs: add sdk to extraPackages
this gives you access to libraries like Foundation.
This commit is contained in:
parent
ca6e93155b
commit
1e7bac9401
@ -43,6 +43,7 @@ rec {
|
|||||||
cc = clang-unwrapped;
|
cc = clang-unwrapped;
|
||||||
bintools = binutils;
|
bintools = binutils;
|
||||||
libc = targetIosSdkPkgs.libraries;
|
libc = targetIosSdkPkgs.libraries;
|
||||||
|
extraPackages = [ "${sdk}/System" ];
|
||||||
extraBuildCommands = ''
|
extraBuildCommands = ''
|
||||||
tr '\n' ' ' < $out/nix-support/cc-cflags > cc-cflags.tmp
|
tr '\n' ' ' < $out/nix-support/cc-cflags > cc-cflags.tmp
|
||||||
mv cc-cflags.tmp $out/nix-support/cc-cflags
|
mv cc-cflags.tmp $out/nix-support/cc-cflags
|
||||||
|
Loading…
Reference in New Issue
Block a user