mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 03:25:02 +00:00
Merge pull request #9486 from benley/vimproc-fix
vimproc: Fix when run on non-NixOS linux distros
This commit is contained in:
commit
eb4ba90ef8
|
@ -647,7 +647,10 @@ rec {
|
|||
buildInputs = [ which ];
|
||||
|
||||
buildPhase = ''
|
||||
sed -i 's/vimproc_mac\.so/vimproc_unix\.so/' autoload/vimproc.vim
|
||||
substituteInPlace autoload/vimproc.vim \
|
||||
--replace vimproc_mac.so vimproc_unix.so \
|
||||
--replace vimproc_linux64.so vimproc_unix.so \
|
||||
--replace vimproc_linux32.so vimproc_unix.so
|
||||
make -f make_unix.mak
|
||||
'';
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue