diff options
Diffstat (limited to 'overlays/vdirsyncer/default.nix')
-rw-r--r-- | overlays/vdirsyncer/default.nix | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/overlays/vdirsyncer/default.nix b/overlays/vdirsyncer/default.nix new file mode 100644 index 00000000..53248f91 --- /dev/null +++ b/overlays/vdirsyncer/default.nix | |||
@@ -0,0 +1,14 @@ | |||
1 | self: super: { | ||
2 | vdirsyncer = super.vdirsyncer.overridePythonAttrs(old: { | ||
3 | # https://github.com/NixOS/nixpkgs/pull/85809 | ||
4 | postPatch = old.postPatch + '' | ||
5 | sed -i "s/invalid value for \"--verbosity\"/invalid value for \\\'--verbosity\\\'/" tests/system/cli/test_sync.py | ||
6 | ''; | ||
7 | }); | ||
8 | khal = super.khal.overridePythonAttrs(old: { | ||
9 | postPatch = '' | ||
10 | sed -i "s/Invalid value for \"ics\"/Invalid value for \\\'ics\\\'/" tests/cli_test.py | ||
11 | sed -i "s/Invalid value for \"\[ICS\]\"/Invalid value for \\\'[ICS]\\\'/" tests/cli_test.py | ||
12 | ''; | ||
13 | }); | ||
14 | } | ||