summary refs log tree commit diff
path: root/pkgs/os-specific/darwin/osx-private-sdk/default.nix
blob: febcb6b5d0cd8d73ed7e4b29694dc01cadf06ba5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{ stdenv, fetchzip }:

let full = stdenv.lib.overrideDerivation (fetchzip {
  url = "https://github.com/samdmarshall/OSXPrivateSDK/tarball/69bf3c7f7140ed6ab2b6684b427bd457209858fe";
  name = "osx-private-sdk-10.9";
  sha256 = "1agl4kyry6m7yz3sql5mrbvmd1xkmb4nbq976phcpk19inans1zm";
}) (drv: {
  postFetch = ''
    unpackFile() {
      tar xzf "$1"
    }
  '' + drv.postFetch;
}); in {
  outPath = "${full}/PrivateSDK10.9";
  passthru.sdk10 = "${full}/PrivateSDK10.10";
}