From 20f7764221304edf05fdafad375c80c723ea547f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Sun, 15 Sep 2024 15:03:02 +0200 Subject: [PATCH] udocker: remove useless pytest-runner --- pkgs/tools/virtualization/udocker/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/tools/virtualization/udocker/default.nix b/pkgs/tools/virtualization/udocker/default.nix index 8f0afedfd9cb..25ae2fe9ee33 100644 --- a/pkgs/tools/virtualization/udocker/default.nix +++ b/pkgs/tools/virtualization/udocker/default.nix @@ -17,6 +17,11 @@ python3Packages.buildPythonApplication rec { hash = "sha256-P49fkLvdCm/Eco+nD3SGM04PRQatBzq9CHlayueQetk="; }; + postPatch = '' + substituteInPlace setup.py \ + --replace-fail "'pytest-runner'," "" + ''; + # crun patchelf proot runc fakechroot # are download statistically linked during runtime buildInputs = [ @@ -28,7 +33,6 @@ python3Packages.buildPythonApplication rec { ]; nativeCheckInputs = with python3Packages; [ - pytest-runner pytestCheckHook ];