mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-27 11:08:53 +02:00
parent
d35dc6dfca
commit
5bef8e43ce
3 changed files with 72 additions and 1 deletions
|
@ -319,7 +319,16 @@ in
|
|||
initSource;
|
||||
|
||||
extraWrapperArgs = builtins.concatStringsSep " " (
|
||||
(optional (
|
||||
# Setting environment variables in the wrapper
|
||||
(lib.mapAttrsToList (
|
||||
name: value:
|
||||
lib.escapeShellArgs [
|
||||
"--set"
|
||||
name
|
||||
value
|
||||
]
|
||||
) config.env)
|
||||
++ (optional (
|
||||
config.extraPackages != [ ]
|
||||
) ''--prefix PATH : "${lib.makeBinPath config.extraPackages}"'')
|
||||
++ (optional config.wrapRc ''--add-flags -u --add-flags "${initFile}"'')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue