diff options
author | Malo Bourgon <mbourgon@gmail.com> | 2022-01-31 16:58:33 -0800 |
---|---|---|
committer | Jonathan Ringer <jonringer@users.noreply.github.com> | 2022-03-18 12:56:42 -0700 |
commit | 08e25bd2ccc7dc26f5321d369541ac887773daab (patch) | |
tree | 51c07456264b88c05b225d05d8f0a77af681def2 /pkgs/applications | |
parent | 8194cb438dd99e25fc4a3b535e605d865769ef1a (diff) | |
download | nixpkgs-08e25bd2ccc7dc26f5321d369541ac887773daab.tar nixpkgs-08e25bd2ccc7dc26f5321d369541ac887773daab.tar.gz nixpkgs-08e25bd2ccc7dc26f5321d369541ac887773daab.tar.bz2 nixpkgs-08e25bd2ccc7dc26f5321d369541ac887773daab.tar.lz nixpkgs-08e25bd2ccc7dc26f5321d369541ac887773daab.tar.xz nixpkgs-08e25bd2ccc7dc26f5321d369541ac887773daab.tar.zst nixpkgs-08e25bd2ccc7dc26f5321d369541ac887773daab.zip |
vimPlugins.vim-colorschemes: add overlay to address hash issue
Diffstat (limited to 'pkgs/applications')
-rw-r--r-- | pkgs/applications/editors/vim/plugins/overrides.nix | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/pkgs/applications/editors/vim/plugins/overrides.nix b/pkgs/applications/editors/vim/plugins/overrides.nix index 1e05d67bb21..f3e1a5f12c3 100644 --- a/pkgs/applications/editors/vim/plugins/overrides.nix +++ b/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 \ |