1{ stdenvNoCC }:
2
3# Darwin dynamically determines the `libSystem` to use based on the SDK found at `DEVELOPER_DIR`.
4# By default, this will be `apple-sdk` or one of the versioned variants.
5stdenvNoCC.mkDerivation {
6 pname = "libSystem";
7 version = "B";
8
9 # Silence linker warnings due a missing `lib` (which is added by cc-wrapper).
10 buildCommand = ''
11 mkdir -p "$out/include" "$out/lib"
12 '';
13}