aboutsummaryrefslogblamecommitdiff
path: root/flakes/mypackages/overlays/taskwarrior/default.nix
blob: 9ca52b8fb5c1cd1ad5728808fd3ebd99bf498c66 (plain) (tree)
1
2
3
4
5
6


                                                       


                                    









                                                                                                          
self: super:
{
  taskwarrior = super.taskwarrior.overrideAttrs (old: {
    patches = old.patches or [] ++ [
      ./TW-1778_patch.diff
    ];
    postInstall = ''${old.postInstall}
      mkdir -p "$out/share/vim/vimfiles/ftdetect"
      mkdir -p "$out/share/vim/vimfiles/syntax"
      ln -s "../../../../share/doc/task/scripts/vim/ftdetect/task.vim" "$out/share/vim/vimfiles/ftdetect/"
      ln -s "../../../../share/doc/task/scripts/vim/syntax/taskrc.vim" "$out/share/vim/vimfiles/syntax/"
      ln -s "../../../../share/doc/task/scripts/vim/syntax/taskdata.vim" "$out/share/vim/vimfiles/syntax/"
      ln -s "../../../../share/doc/task/scripts/vim/syntax/taskedit.vim" "$out/share/vim/vimfiles/syntax/"
    '';
  });
}