summaryrefslogtreecommitdiff
path: root/overlays/vdirsyncer/default.nix
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2020-04-24 01:27:00 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2020-04-25 00:04:59 +0200
commit71c71a991bbaaf8e6707fc74893a076f0fcced9b (patch)
treefd47119e21f45696f641aa7a695cb2e8503dfacb /overlays/vdirsyncer/default.nix
parent7cc59286abcf9e8e412cce0b63069fa8acf3b6be (diff)
downloadNUR-71c71a991bbaaf8e6707fc74893a076f0fcced9b.tar.gz
NUR-71c71a991bbaaf8e6707fc74893a076f0fcced9b.tar.zst
NUR-71c71a991bbaaf8e6707fc74893a076f0fcced9b.zip
Upgrade environment packages to latest
Diffstat (limited to 'overlays/vdirsyncer/default.nix')
-rw-r--r--overlays/vdirsyncer/default.nix14
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 @@
1self: 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}