From 06e88515c0868c3120754758971a6057c13b12ce Mon Sep 17 00:00:00 2001 From: Ihar Hrachyshka Date: Tue, 15 Apr 2025 21:11:36 -0400 Subject: [PATCH] screen-pipe: Remove remaining darwin.apple_sdk_12_3 use MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is the last use in the tree. (Almost.) Note: gst_all_1.* use is not updated because it was already fixed in staging branch: https://github.com/NixOS/nixpkgs/pull/398010 Note2: the package is broken for a long time, so the change cannot be confirmed to not break it even further. 🤷 Signed-off-by: Ihar Hrachyshka --- pkgs/by-name/sc/screen-pipe/package.nix | 21 ++++----------------- 1 file changed, 4 insertions(+), 17 deletions(-) diff --git a/pkgs/by-name/sc/screen-pipe/package.nix b/pkgs/by-name/sc/screen-pipe/package.nix index 141eca8d82c7..36118fc16fdd 100644 --- a/pkgs/by-name/sc/screen-pipe/package.nix +++ b/pkgs/by-name/sc/screen-pipe/package.nix @@ -9,9 +9,9 @@ openssl, sqlite, stdenv, - darwin, alsa-lib, xorg, + apple-sdk_12, }: rustPlatform.buildRustPackage rec { pname = "screen-pipe"; @@ -49,22 +49,9 @@ rustPlatform.buildRustPackage rec { openssl sqlite ] - ++ lib.optionals stdenv.hostPlatform.isDarwin ( - with darwin.apple_sdk_12_3.frameworks; - [ - CoreAudio - AudioUnit - CoreFoundation - CoreGraphics - CoreMedia - IOKit - Metal - MetalPerformanceShaders - Security - ScreenCaptureKit - SystemConfiguration - ] - ) + ++ lib.optionals stdenv.hostPlatform.isDarwin [ + apple-sdk_12 + ] ++ lib.optionals stdenv.hostPlatform.isLinux [ alsa-lib xorg.libxcb