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