From 44bd0f5ce4980dcced82e853126598506bc48612 Mon Sep 17 00:00:00 2001 From: FlameFlag Date: Fri, 10 Apr 2026 15:56:31 +0300 Subject: [PATCH] mpv-unwrapped: set `dontVersionCheck = true;` for darwin --- pkgs/by-name/mp/mpv-unwrapped/package.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/by-name/mp/mpv-unwrapped/package.nix b/pkgs/by-name/mp/mpv-unwrapped/package.nix index 5ffd823e81db..85293e0b650d 100644 --- a/pkgs/by-name/mp/mpv-unwrapped/package.nix +++ b/pkgs/by-name/mp/mpv-unwrapped/package.nix @@ -287,6 +287,10 @@ stdenv.mkDerivation (finalAttrs: { ]; doInstallCheck = true; + # On macOS, mpv --version initializes the full Cocoa app framework and + # connects to the window server, which hangs in a headless build environment + dontVersionCheck = stdenv.hostPlatform.isDarwin; + passthru = { inherit # The wrapper consults luaEnv and lua.version