block papis upstream warning
This commit is contained in:
parent
e80035cb2b
commit
4169da9e22
1 changed files with 13 additions and 3 deletions
|
|
@ -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 = ''
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue