3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #136872 from toastal/himalaya-vim-fix

himalaya-vim: fix broken build
This commit is contained in:
Jörg Thalheim 2021-09-06 13:29:31 +01:00 committed by GitHub
commit 732a626091
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -311,13 +311,9 @@ self: super: {
pname = "himalaya-vim";
inherit (himalaya) src version;
dependencies = with self; [ himalaya ];
patchPhase = ''
rm -rf !"vim/"
cp -vaR vim/. .
rm -rf vim/
'';
preFixup = ''
substituteInPlace $out/share/vim-plugins/himalaya-vim/plugin/himalaya.vim \
configurePhase = ''
cd vim
substituteInPlace plugin/himalaya.vim \
--replace 'if !executable("himalaya")' 'if v:false'
'';
postFixup = ''