block papis upstream warning

This commit is contained in:
Yan Lin 2025-12-06 13:05:32 +01:00
parent e80035cb2b
commit 4169da9e22

View file

@ -8,9 +8,19 @@ in
{
# Install papis package
home.packages = [
(pkgs.papis.overridePythonAttrs (old: {
doCheck = false; # Skip tests due to Click incompatibility with Python 3.13
}))
(pkgs.symlinkJoin {
name = "papis-wrapped";
paths = [
(pkgs.papis.overridePythonAttrs (old: {
doCheck = false;
}))
];
buildInputs = [ pkgs.makeWrapper ];
postBuild = ''
wrapProgram $out/bin/papis \
--set PYTHONWARNINGS "ignore::UserWarning"
'';
})
];
# Papis configuration
home.file."${papisConfigDir}/config".text = ''