diff --git a/pkgs/applications/video/mpv/default.nix b/pkgs/applications/video/mpv/default.nix index f2e1aa9663fe..5b51f5d50c99 100644 --- a/pkgs/applications/video/mpv/default.nix +++ b/pkgs/applications/video/mpv/default.nix @@ -264,6 +264,10 @@ stdenv.mkDerivation (finalAttrs: { popd ''; + sandboxProfile = lib.optionalString stdenv.hostPlatform.isDarwin '' + (allow mach-lookup (global-name "com.apple.coreservices.launchservicesd")) + ''; + postInstall = '' # Use a standard font mkdir -p $out/share/mpv