From 587176cffa7cee16d4ef67d7594260dac457ce0a Mon Sep 17 00:00:00 2001 From: octvs Date: Wed, 25 Feb 2026 11:46:54 +0100 Subject: [PATCH] papis: fix build failure with optional deps "test_csl_style_download" requires network access but only enabled with optional dependencies, which was missed on the original commit c07476ce4d412. Disable also this test if derivation is overriden for optional dependencies. --- pkgs/development/python-modules/papis/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/papis/default.nix b/pkgs/development/python-modules/papis/default.nix index f5309900eb5c..6fbfbac761cc 100644 --- a/pkgs/development/python-modules/papis/default.nix +++ b/pkgs/development/python-modules/papis/default.nix @@ -126,6 +126,10 @@ buildPythonPackage (finalAttrs: { "test_yaml_unicode_dump" # FileNotFoundError: Command not found: 'init' "test_git_cli" + ] + ++ lib.optionals withOptDeps [ + # Require network access + "test_csl_style_download" ]; meta = {