mpv: remove obsolete Swift library path hack

This is now detected correctly as part of the SDK, as it should be.
This commit is contained in:
Emily
2024-10-23 10:59:50 +01:00
parent 2226998074
commit 84d64ade98
-5
View File
@@ -141,11 +141,6 @@ stdenv.mkDerivation (finalAttrs: {
''
];
# Ensure we reference 'lib' (not 'out') of Swift.
preConfigure = lib.optionalString stdenv.hostPlatform.isDarwin ''
export SWIFT_LIB_DYNAMIC="${lib.getLib swift.swift}/lib/swift/macosx"
'';
mesonFlags = [
(lib.mesonOption "default_library" "shared")
(lib.mesonBool "libmpv" true)