python314Packages.mpv: fix build

python3.13-mpv> 3.534 [v] vo/x11: Assuming -nan FPS for display sync.
python3.13-mpv> ----------------------------- Captured stderr call -----------------------------
python3.13-mpv> Fontconfig error: Cannot load default config file: No such file: (null)
python3.13-mpv> Fontconfig error: Cannot load default config file: No such file: (null)
python3.13-mpv>
python3.13-mpv> Fontconfig error: No writable cache directories
python3.13-mpv>         /var/cache/fontconfig
python3.13-mpv>         /homeless-shelter/.cache/fontconfig
python3.13-mpv>
python3.13-mpv> Fontconfig error: No writable cache directories
python3.13-mpv>         /var/cache/fontconfig
python3.13-mpv>         /homeless-shelter/.cache/fontconfig
This commit is contained in:
Sandro Jäckel
2026-07-05 21:41:37 +02:00
parent c428cc1a3e
commit 7e69650f2c
@@ -7,6 +7,7 @@
setuptools,
pytestCheckHook,
pyvirtualdisplay,
writableTmpDirAsHomeHook,
xvfb,
}:
@@ -35,6 +36,7 @@ buildPythonPackage rec {
nativeCheckInputs = [
pytestCheckHook
pyvirtualdisplay
writableTmpDirAsHomeHook
]
++ lib.optionals stdenv.hostPlatform.isLinux [
xvfb