]> git.immae.eu Git - perso/Immae/Config/Nix/NUR.git/blobdiff - overlays/vdirsyncer/default.nix
Upgrade environment packages to latest
[perso/Immae/Config/Nix/NUR.git] / overlays / vdirsyncer / default.nix
diff --git a/overlays/vdirsyncer/default.nix b/overlays/vdirsyncer/default.nix
new file mode 100644 (file)
index 0000000..53248f9
--- /dev/null
@@ -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
+    '';
+  });
+}