Merge pull request #229314 from ConnorBaker/fix/apple-sdk-remove-cf-private

apple_sdk: remove cf-private alias
This commit is contained in:
Weijia Wang
2023-05-02 11:21:27 +03:00
committed by GitHub
4 changed files with 4 additions and 7 deletions
@@ -1,6 +1,5 @@
{ lib, stdenv
, fetchFromGitHub
, unstableGitUpdater
, cmake
, callPackage
@@ -9,7 +8,7 @@
, xorg
# Darwin deps
, cf-private
, CoreFoundation
, Cocoa
, AudioToolbox
, OpenGL
@@ -31,7 +30,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake ];
buildInputs = if stdenv.isDarwin
then [
cf-private
CoreFoundation
Cocoa
AudioToolbox
OpenGL
+1 -2
View File
@@ -15528,9 +15528,8 @@ with pkgs;
lizardfs = callPackage ../tools/filesystems/lizardfs { };
lobster = callPackage ../development/compilers/lobster {
inherit (darwin) cf-private;
inherit (darwin.apple_sdk.frameworks)
Cocoa AudioToolbox OpenGL Foundation ForceFeedback;
CoreFoundation Cocoa AudioToolbox OpenGL Foundation ForceFeedback;
};
lld = llvmPackages.lld;
+1 -1
View File
@@ -108,7 +108,7 @@ impure-cmds // appleSourcePackages // chooseLibs // {
stdenv = if stdenv.isDarwin then stdenv else pkgs.libcxxStdenv;
};
# TODO: remove alias.
# TODO(@connorbaker): See https://github.com/NixOS/nixpkgs/issues/229389.
cf-private = self.apple_sdk.frameworks.CoreFoundation;
DarwinTools = callPackage ../os-specific/darwin/DarwinTools { };
-1
View File
@@ -217,7 +217,6 @@ let
perlPackages = { };
darwin = packagePlatforms pkgs.darwin // {
cf-private = {};
xcode = {};
};
} ));