Commit 06e88515 authored by Ihar Hrachyshka's avatar Ihar Hrachyshka
Browse files

screen-pipe: Remove remaining darwin.apple_sdk_12_3 use

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: default avatarIhar Hrachyshka <ihar.hrachyshka@gmail.com>
parent f581f840
Loading
Loading
Loading
Loading
+4 −17
Original line number Diff line number Diff line
@@ -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