From 71c71a991bbaaf8e6707fc74893a076f0fcced9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Fri, 24 Apr 2020 01:27:00 +0200 Subject: Upgrade environment packages to latest --- overlays/vdirsyncer/default.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 overlays/vdirsyncer/default.nix (limited to 'overlays/vdirsyncer') 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 @@ +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 + ''; + }); +} -- cgit v1.2.3