mkvtoolnix: migrate to new apple-sdk pattern

Tracked by #354146.
This commit is contained in:
Alex James 2024-11-10 23:24:03 -06:00
parent 3f42f0b61e
commit 18f9b02f6d
No known key found for this signature in database
GPG Key ID: 4729B829AC5FCC72
2 changed files with 2 additions and 5 deletions

View File

@ -99,8 +99,7 @@ stdenv.mkDerivation rec {
zlib
]
++ optionals withGUI [ cmark ]
++ optionals stdenv.hostPlatform.isLinux [ qtwayland ]
++ optionals stdenv.hostPlatform.isDarwin [ libiconv ];
++ optionals stdenv.hostPlatform.isLinux [ qtwayland ];
# autoupdate is not needed but it silences a ton of pointless warnings
postPatch = ''

View File

@ -10507,9 +10507,7 @@ with pkgs;
inherit (darwin.apple_sdk_11_0.frameworks) AppKit Cocoa Carbon CoreAudio CoreMIDI CoreServices Kernel;
};
mkvtoolnix = qt6Packages.callPackage ../applications/video/mkvtoolnix {
stdenv = if stdenv.hostPlatform.isDarwin then darwin.apple_sdk_11_0.stdenv else stdenv;
};
mkvtoolnix = qt6Packages.callPackage ../applications/video/mkvtoolnix { };
mkvtoolnix-cli = mkvtoolnix.override {
withGUI = false;