neovim: accepts an extraName to distinguish between wrappers
especially useful to distinguish between the different neovim generated during the tests
This commit is contained in:
parent
b0798e7d4b
commit
a793aacf9d
1 changed files with 3 additions and 2 deletions
|
@ -11,8 +11,9 @@ neovim:
|
|||
|
||||
let
|
||||
wrapper = {
|
||||
extraName ? ""
|
||||
# should contain all args but the binary
|
||||
wrapperArgs ? ""
|
||||
, wrapperArgs ? ""
|
||||
, manifestRc ? null
|
||||
, withPython2 ? false
|
||||
, withPython3 ? true, python3Env ? null
|
||||
|
@ -37,7 +38,7 @@ let
|
|||
assert withPython2 -> throw "Python2 support has been removed from the neovim wrapper, please remove withPython2 and python2Env.";
|
||||
|
||||
symlinkJoin {
|
||||
name = "neovim-${lib.getVersion neovim}";
|
||||
name = "neovim-${lib.getVersion neovim}${extraName}";
|
||||
# Remove the symlinks created by symlinkJoin which we need to perform
|
||||
# extra actions upon
|
||||
postBuild = lib.optionalString stdenv.isLinux ''
|
||||
|
|
Loading…
Reference in a new issue