From 51c13e73539432e3b16d670a06c61c344b8cba7a Mon Sep 17 00:00:00 2001 From: Dimitar Nestorov <8790386+dimitarnestorov@users.noreply.github.com> Date: Sat, 21 Dec 2024 11:58:28 +0200 Subject: [PATCH] darwin: expose `requireXcode` --- pkgs/os-specific/darwin/xcode/default.nix | 1 + pkgs/top-level/darwin-packages.nix | 1 + 2 files changed, 2 insertions(+) diff --git a/pkgs/os-specific/darwin/xcode/default.nix b/pkgs/os-specific/darwin/xcode/default.nix index c2d99b075d32ee..17debe5968f1ed 100644 --- a/pkgs/os-specific/darwin/xcode/default.nix +++ b/pkgs/os-specific/darwin/xcode/default.nix @@ -54,6 +54,7 @@ let in lib.makeExtensible (self: { + inherit requireXcode; xcode_8_1 = requireXcode "8.1" "sha256-VuAovU/b4rcLh+xMtcsZmbTWwTk35VGfMSp+fqPbsqM="; xcode_8_2 = requireXcode "8.2" "sha256-ohqgGD7JEEmXEvmfn/N9Ga2lM8jNwhIuh+ky7PQPzY4="; xcode_9_1 = requireXcode "9.1" "sha256-LG7pVMh1rNh5uP/bASvV9sKvGDrSGWH90J4gzwcgYSk="; diff --git a/pkgs/top-level/darwin-packages.nix b/pkgs/top-level/darwin-packages.nix index a84ec52e2bc08d..9a45d7f5017c4c 100644 --- a/pkgs/top-level/darwin-packages.nix +++ b/pkgs/top-level/darwin-packages.nix @@ -277,6 +277,7 @@ makeScopeWithSplicing' { xcode_16 xcode_16_1 xcode + requireXcode ; xcodeProjectCheckHook = pkgs.makeSetupHook {