summaryrefslogblamecommitdiff
path: root/overlays/vdirsyncer/default.nix
blob: 53248f9179d6c169d430a0839669018cbe40f1c1 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
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
    '';
  });
}