Skip to content

Commit

Permalink
apple_sdk: remove cf-private alias
Browse files Browse the repository at this point in the history
  • Loading branch information
Connor Baker committed May 2, 2023
1 parent b00a532 commit b2eb5c8
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 deletions.
5 changes: 2 additions & 3 deletions pkgs/development/compilers/lobster/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{ lib, stdenv
, fetchFromGitHub
, unstableGitUpdater
, cmake
, callPackage

Expand All @@ -9,7 +8,7 @@
, xorg

# Darwin deps
, cf-private
, CoreFoundation
, Cocoa
, AudioToolbox
, OpenGL
Expand All @@ -31,7 +30,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake ];
buildInputs = if stdenv.isDarwin
then [
cf-private
CoreFoundation
Cocoa
AudioToolbox
OpenGL
Expand Down
3 changes: 1 addition & 2 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15523,9 +15523,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;
Expand Down
2 changes: 1 addition & 1 deletion pkgs/top-level/darwin-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 { };
Expand Down
1 change: 0 additions & 1 deletion pkgs/top-level/release.nix
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,6 @@ let
perlPackages = { };

darwin = packagePlatforms pkgs.darwin // {
cf-private = {};
xcode = {};
};
} ));
Expand Down

0 comments on commit b2eb5c8

Please sign in to comment.