block papis upstream warning
This commit is contained in:
parent
e80035cb2b
commit
4169da9e22
1 changed files with 13 additions and 3 deletions
|
|
@ -8,10 +8,20 @@ in
|
|||
{
|
||||
# Install papis package
|
||||
home.packages = [
|
||||
(pkgs.symlinkJoin {
|
||||
name = "papis-wrapped";
|
||||
paths = [
|
||||
(pkgs.papis.overridePythonAttrs (old: {
|
||||
doCheck = false; # Skip tests due to Click incompatibility with Python 3.13
|
||||
doCheck = false;
|
||||
}))
|
||||
];
|
||||
buildInputs = [ pkgs.makeWrapper ];
|
||||
postBuild = ''
|
||||
wrapProgram $out/bin/papis \
|
||||
--set PYTHONWARNINGS "ignore::UserWarning"
|
||||
'';
|
||||
})
|
||||
];
|
||||
# Papis configuration
|
||||
home.file."${papisConfigDir}/config".text = ''
|
||||
[settings]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue