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

This commit is contained in:
Malo Bourgon 2022-01-31 16:58:33 -08:00 committed by Jonathan Ringer
parent 8194cb438d
commit 08e25bd2cc

View file

@ -846,6 +846,16 @@ self: super: {
dependencies = with self; [ vim-maktaba ]; 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: { vim-dasht = super.vim-dasht.overrideAttrs (old: {
preFixup = '' preFixup = ''
substituteInPlace $out/autoload/dasht.vim \ substituteInPlace $out/autoload/dasht.vim \