X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=overlays%2Fvdirsyncer%2Fdefault.nix;fp=overlays%2Fvdirsyncer%2Fdefault.nix;h=53248f9179d6c169d430a0839669018cbe40f1c1;hb=6d5ce738c006168d557f2685f003f0346d083723;hp=0000000000000000000000000000000000000000;hpb=d8c20bc395b22fb5552afc8b69e8c60493228d2d;p=perso%2FImmae%2FConfig%2FNix.git diff --git a/overlays/vdirsyncer/default.nix b/overlays/vdirsyncer/default.nix new file mode 100644 index 0000000..53248f9 --- /dev/null +++ b/overlays/vdirsyncer/default.nix @@ -0,0 +1,14 @@ +self: super: { + vdirsyncer = super.vdirsyncer.overridePythonAttrs(old: { + # https://github.com/NixOS/nixpkgs/pull/85809 + postPatch = old.postPatch + '' + sed -i "s/invalid value for \"--verbosity\"/invalid value for \\\'--verbosity\\\'/" tests/system/cli/test_sync.py + ''; + }); + khal = super.khal.overridePythonAttrs(old: { + postPatch = '' + sed -i "s/Invalid value for \"ics\"/Invalid value for \\\'ics\\\'/" tests/cli_test.py + sed -i "s/Invalid value for \"\[ICS\]\"/Invalid value for \\\'[ICS]\\\'/" tests/cli_test.py + ''; + }); +}