vimPlugins.vim-colorschemes: add overlay to address hash issue

main
Malo Bourgon 2 years ago committed by Jonathan Ringer
parent 8194cb438d
commit 08e25bd2cc
  1. 10
      pkgs/applications/editors/vim/plugins/overrides.nix

@ -846,6 +846,16 @@ self: super: {
dependencies = with self; [ vim-maktaba ];
});
# Due to case-sensitivety issues, the hash differs on Darwin systems, see:
# https://github.com/NixOS/nixpkgs/issues/157609
vim-colorschemes = super.vim-colorschemes.overrideAttrs (old: {
src = old.src.overrideAttrs (srcOld: {
postFetch = (srcOld.postFetch or "") + lib.optionalString (!stdenv.isDarwin) ''
rm $out/colors/darkBlue.vim
'';
});
});
vim-dasht = super.vim-dasht.overrideAttrs (old: {
preFixup = ''
substituteInPlace $out/autoload/dasht.vim \

Loading…
Cancel
Save