python3Packages.i3ipc: fix tests

This commit is contained in:
Jonathan Ringer 2020-08-16 19:22:28 -07:00
parent 74ad5ea87e
commit d86aa32426
No known key found for this signature in database
GPG Key ID: 5C841D3CFDFEC4E0

View File

@ -1,5 +1,5 @@
{ stdenv, buildPythonPackage, fetchFromGitHub { stdenv, buildPythonPackage, fetchFromGitHub
, xorgserver, pytest, pytest-xvfb, pytest-asyncio, i3, python, xlib, xdpyinfo , xorgserver, pytest, pytest-xvfb, i3, python, xlib, xdpyinfo
, makeFontsConf, coreutils , makeFontsConf, coreutils
}: }:
@ -19,7 +19,7 @@ buildPythonPackage rec {
fontDirectories = [ ]; fontDirectories = [ ];
}; };
FONTCONFIG_FILE = fontsConf; # Fontconfig error: Cannot load default config file FONTCONFIG_FILE = fontsConf; # Fontconfig error: Cannot load default config file
checkInputs = [ pytest xdpyinfo pytest-asyncio pytest-xvfb xorgserver i3 ]; checkInputs = [ pytest xdpyinfo pytest-xvfb xorgserver i3 ];
postPatch = '' postPatch = ''
substituteInPlace test/i3.config \ substituteInPlace test/i3.config \