about summary refs log tree commit diff
path: root/pkgs/os-specific/darwin/apple-sdk/default.nix
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2021-01-20 19:40:51 +0100
committerGitHub <noreply@github.com>2021-01-20 19:40:51 +0100
commit199ffe40e6c7fed7a2dd9d9b9f6bdd69456aa053 (patch)
treea3d43678191a94a3369921ea10eb993c933a8130 /pkgs/os-specific/darwin/apple-sdk/default.nix
parentc3116cdce215f784607902602cbec471b00171e8 (diff)
parent2467f5e4d2f3520890b7faa04a9d0d66f89a2874 (diff)
Merge pull request #110140 from holymonson/prepare-apple-sdk
darwin.apple-sdk: drop appleSdkVersion
Diffstat (limited to 'pkgs/os-specific/darwin/apple-sdk/default.nix')
-rw-r--r--pkgs/os-specific/darwin/apple-sdk/default.nix7
1 files changed, 1 insertions, 6 deletions
diff --git a/pkgs/os-specific/darwin/apple-sdk/default.nix b/pkgs/os-specific/darwin/apple-sdk/default.nix
index 0ba7a1d209ec0..8a814e9558de4 100644
--- a/pkgs/os-specific/darwin/apple-sdk/default.nix
+++ b/pkgs/os-specific/darwin/apple-sdk/default.nix
@@ -1,15 +1,10 @@
 { stdenv, fetchurl, xar, cpio, pkgs, python3, pbzx, lib, darwin-stubs, print-reexports }:
 
-let version = "10.12"; in
-
-# Ensure appleSdkVersion is up to date.
-assert stdenv.isDarwin -> stdenv.appleSdkVersion == version;
-
 let
   # sadly needs to be exported because security_tool needs it
   sdk = stdenv.mkDerivation rec {
     pname = "MacOS_SDK";
-    inherit version;
+    version = "10.12";
 
     # This URL comes from https://swscan.apple.com/content/catalogs/others/index-10.12.merged-1.sucatalog, which we found by:
     #  1. Google: site:swscan.apple.com and look for a name that seems appropriate for your version