From b445bc62b791e3a97321d7682931965c2bdcdfe7 Mon Sep 17 00:00:00 2001 From: Andrey Golovizin Date: Mon, 7 Dec 2020 21:07:49 +0100 Subject: [PATCH] pythonPackages.llfuse: fix tests with pytest 6 --- pkgs/development/python-modules/llfuse/default.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pkgs/development/python-modules/llfuse/default.nix b/pkgs/development/python-modules/llfuse/default.nix index 0480deb401c..d82f35782c1 100644 --- a/pkgs/development/python-modules/llfuse/default.nix +++ b/pkgs/development/python-modules/llfuse/default.nix @@ -15,6 +15,14 @@ buildPythonPackage rec { sha256 = "1g2cdhdqrb6m7655qp61pn61pwj1ql61cdzhr2jvl3w4i8877ddr"; }; + patches = [ + # fix tests with pytest 6 + (fetchpatch { + url = "https://github.com/python-llfuse/python-llfuse/commit/1ed8b280d2544eedf8bf209761bef0d2519edd17.diff"; + sha256 = "0wailfrr1i0n2m9ylwpr00jh79s7z3l36w7x19jx1x4djcz2hdps"; + }) + ]; + nativeBuildInputs = [ pkgconfig ]; buildInputs = optionals stdenv.isLinux [ fuse ]