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
c07476ce4d. Disable also this test if derivation is overriden for
optional dependencies.
This commit is contained in:
octvs
2026-02-25 11:50:18 +01:00
parent 73bbf0dc60
commit 587176cffa
@@ -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 = {