aboutsummaryrefslogblamecommitdiff
path: root/overlays/taskwarrior/default.nix
blob: 64ea690028c10204f3cd403b211c898570c7bbc2 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13












                                                                                                          
self: super:
{
  taskwarrior = super.taskwarrior.overrideAttrs (old: {
    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/"
    '';
  });
}