From 399dbcac6774051ae7c9266eca52d0b7b79c5281 Mon Sep 17 00:00:00 2001 From: Monson Shao Date: Thu, 28 Jan 2021 01:22:35 +0800 Subject: [PATCH] darwin.apple-source-releases: drop sdkName in version --- pkgs/os-specific/darwin/apple-source-releases/default.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkgs/os-specific/darwin/apple-source-releases/default.nix b/pkgs/os-specific/darwin/apple-source-releases/default.nix index 014904ca24d6..ee93d48165ac 100644 --- a/pkgs/os-specific/darwin/apple-source-releases/default.nix +++ b/pkgs/os-specific/darwin/apple-source-releases/default.nix @@ -158,8 +158,7 @@ let in fetchApple' pname version sha256; appleDerivation' = pname: version: sdkName: sha256: attrs: stdenv.mkDerivation ({ - inherit pname; - version = "${version}-${sdkName}"; + inherit pname version; src = if attrs ? srcs then null else (fetchApple' pname version sha256);