1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-24 02:39:48 +01:00
home-manager/modules/programs
Ramses a993eac106
neovim: fix extraLuaPackages type. (#3533)
Assigning to `programs.neovim.extraLuaPackages` a function taking a lua package set as input
and returning a list of packages, as described in the documentation,
threw an error because the rest of the code assumed that the value was always a plain list.
Using `lib.types.coercedTo`, we can accept such functions, as per the documentation,
as well as plain lists, which we then convert to a function ignoring its input argument.
We print a warning when a plain list is assigned, since the function
form is preferred, as it ensures that the right lua package set is used.

For the lua packages, we also get the lua package set from the
finalPackage, to make sure that we are always using the same package set
as the actual unwrapped neovim package being built.

For `programs.neovim.extraPythonPackages` I did the same.

I updated the test case so that we test both ways of setting these options.
2022-12-29 01:48:45 +01:00
..
command-not-found command-not-found: update from nixpkgs 2021-06-20 20:40:37 +02:00
vscode Replace usage of literalExample 2021-10-13 00:16:10 +02:00
zsh lib.booleans: add yesNo function (#2818) 2022-04-07 22:36:13 -06:00
abook.nix Move platform check into modules 2021-07-18 20:43:22 +02:00
aerc-accounts.nix Add module for aerc (#3070) 2022-08-11 23:08:28 +02:00
aerc.nix Add module for aerc (#3070) 2022-08-11 23:08:28 +02:00
afew.nix format: remove exception for afew module (#1955) 2021-04-28 21:58:49 +02:00
alacritty.nix alacritty: correct example config link 2021-12-29 09:39:42 +01:00
alot-accounts.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
alot.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
aria2.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
astroid-accounts.nix treewide: replace attrs by formats or types.anything 2020-11-29 21:54:55 -05:00
astroid-config-template.json astroid: add module 2018-11-18 19:55:28 +01:00
astroid.nix notmuch: fix database creation when using hooks 2022-02-11 00:04:40 +01:00
atuin.nix atuin: don't install widget on limited terminals 2022-02-19 04:20:00 +00:00
autojump.nix fish: remove promptInit in favor of interactiveShellInit (#2231) 2021-10-27 16:40:39 -06:00
autorandr.nix treewide: fix typos 2022-12-05 12:58:02 +01:00
bash.nix bash: escape historyIgnore value 2022-12-23 10:02:39 +01:00
bashmount.nix bashmount: add module 2022-08-08 18:13:21 +02:00
bat.nix bat: add extraPackages option 2022-11-27 19:19:21 +01:00
beets.nix treewide: prefer XDG variables over dot directories 2021-12-10 23:51:44 +01:00
borgmatic.nix borgmatic: allow lists in extraConfig 2022-12-13 23:34:49 +01:00
bottom.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
broot.nix broot: fix config file location (#3273) 2022-09-27 12:19:02 +02:00
browserpass.nix browserpass: add brave support 2022-03-27 01:12:50 +01:00
btop.nix btop: add module 2022-09-05 14:34:37 +02:00
chromium.nix treewide: fix typos 2022-12-05 12:58:02 +01:00
dircolors.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
direnv.nix direnv: enable nushell integration 2022-12-28 21:09:31 +01:00
discocss.nix discocss: fix attribute name 2022-10-13 11:52:24 +02:00
eclipse.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
emacs.nix emacs: add note about inhibit-startup-message 2022-12-05 12:56:17 +01:00
eww.nix eww: fix maintainer referencee 2022-02-17 22:34:21 +01:00
exa.nix exa: add package option 2022-09-15 09:15:09 +02:00
feh.nix feh: allow binding actions to multiple buttons/keys 2020-09-30 00:55:09 +02:00
firefox.nix treewide: replace replaceChars with replaceStrings 2022-12-16 16:34:59 +01:00
fish.nix fish: set tmp $HOME to silence errors 2022-12-28 21:27:34 +01:00
foot.nix foot: set OOMPolicy=continue for foot server (#2749) 2022-02-22 20:15:28 +01:00
fzf.nix fzf: add colors option (#3206) 2022-11-21 08:35:18 -07:00
gallery-dl.nix gallery-dl: add module 2022-09-09 11:56:37 +02:00
getmail-accounts.nix Apply nixfmt on many files 2020-02-02 01:07:28 +01:00
getmail.nix Move platform check into modules 2021-07-18 20:43:22 +02:00
gh.nix gh: add extensions option 2022-08-12 20:49:50 +02:00
git.nix treewide: fix typos 2022-12-05 12:58:02 +01:00
gitui.nix gitui: update default theme to match upstream 2022-12-28 23:20:37 +01:00
gnome-terminal.nix programs.gnome-terminal: terminal options (#2042) 2021-06-15 23:39:56 +02:00
go.nix treewide: replace <link> by <xref> where appropriate 2022-08-26 00:07:08 +02:00
gpg.nix gpg: fix handling of multiple public keys 2022-04-17 12:15:14 +02:00
havoc.nix havoc: add module 2022-10-07 01:21:11 +02:00
helix.nix helix: add module 2022-01-22 15:42:49 +01:00
hexchat.nix treewide: use liberachat and OFTC in examples 2022-12-05 10:38:54 +01:00
himalaya.nix himalaya: 0.6.x config updates 2022-12-04 09:34:47 +01:00
home-manager.nix Remove some usage of config.lib.dag 2021-05-09 12:13:31 +02:00
htop.nix htop: add missing fields (#2989) 2022-06-05 11:50:13 +02:00
hyfetch.nix hyfetch: prevent writing config with default/empty settings (#3124) 2022-08-01 19:58:38 -04:00
i3status-rust.nix i3status-rust: change default to newer version (#2774) 2022-03-03 22:32:59 -05:00
i3status.nix i3status: add package attribute 2022-10-20 10:04:30 +02:00
info.nix info: generate dir file directly in profile 2020-09-18 14:05:42 +02:00
ion.nix ion: Add module (#2625) 2022-01-27 19:15:45 +01:00
irssi.nix treewide: use liberachat and OFTC in examples 2022-12-05 10:38:54 +01:00
java.nix java: remove IFD 2022-12-16 16:13:08 +01:00
jq.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
just.nix just: deprecate module 2022-12-03 10:13:47 +01:00
k9s.nix k9s: add module 2022-10-25 00:05:50 +02:00
kakoune.nix kakoune: allow custom package (#3434) 2022-11-27 01:49:15 +01:00
keychain.nix keychain: set SHELL correctly in bash and zsh 2022-07-13 14:35:52 +02:00
kitty.nix kitty: silently drop darwin-specific options (#3394) 2022-11-27 01:16:33 +01:00
kodi.nix kodi: fix syntax error in example 2022-11-09 09:16:50 +01:00
lazygit.nix lazygit: add package option (#3456) 2022-12-16 09:55:29 -07:00
ledger.nix ledger: add module 2022-10-07 01:06:40 +02:00
less.nix less: store 'lesskey' under XDG_CONFIG_HOME 2021-12-08 11:23:56 +01:00
lesspipe.nix Mark rycee as maintainer for a bunch of modules 2017-09-26 23:40:31 +02:00
lf.nix lf: add package option 2022-04-13 23:08:51 +02:00
librewolf.nix Fix typo. (#3118) 2022-07-30 18:49:20 -07:00
lieer.nix programs/lieer: use lieer package (#3262) 2022-10-03 09:50:40 +02:00
looking-glass-client.nix looking-glass-client: add module 2022-10-18 10:12:15 +02:00
lsd.nix treewide: prefer XDG variables over dot directories 2021-12-10 23:51:44 +01:00
man.nix man: add package option (#2688) 2022-02-02 16:35:28 -05:00
mangohud.nix mangohud: fix moved link of config file 2022-09-30 20:47:00 +02:00
matplotlib.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
mbsync-accounts.nix mbsync: extend config type with list of strings 2022-09-20 01:24:21 +02:00
mbsync.nix lib.booleans: add yesNo function (#2818) 2022-04-07 22:36:13 -06:00
mcfly.nix mcfly: add fuzzy search factor option 2022-06-24 18:22:15 +02:00
mercurial.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
micro.nix micro: add module 2022-06-24 19:19:11 +02:00
mpv.nix mpv: prohibit string values in scripts 2022-07-13 14:52:46 +02:00
msmtp-accounts.nix Apply nixfmt on many files 2020-02-02 01:07:28 +01:00
msmtp.nix msmtp: allow sending email from aliased addresses 2022-09-05 12:50:09 +02:00
mu.nix mu: use absolute path to mu in activation block 2022-11-07 15:09:31 +01:00
mujmap.nix mujmap: add module 2022-06-22 00:33:10 +02:00
navi.nix navi: don't install widget on limited terminals 2021-12-12 17:59:30 +01:00
ncmpcpp.nix lib.booleans: add yesNo function (#2818) 2022-04-07 22:36:13 -06:00
ncspot.nix treewide: prefer XDG variables over dot directories 2021-12-10 23:51:44 +01:00
ne.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
neomutt-accounts.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
neomutt.nix neomutt: add support for signature command (#2899) 2022-04-29 14:01:53 -06:00
neovim.nix neovim: fix extraLuaPackages type. (#3533) 2022-12-29 01:48:45 +01:00
newsboat.nix newsboat: allow imperative "urls" management 2022-11-20 00:26:42 +01:00
nheko.nix nheko: add module 2022-09-08 19:09:30 +02:00
nix-index.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
nnn.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
noti.nix treewide: prefer XDG variables over dot directories 2021-12-10 23:51:44 +01:00
notmuch.nix notmuch: fix database creation when using hooks 2022-02-11 00:04:40 +01:00
nushell.nix nushell: support darwin config file locations 2022-12-20 23:57:11 +01:00
obs-studio.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
octant.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
offlineimap-accounts.nix Apply nixfmt on many files 2020-02-02 01:07:28 +01:00
offlineimap.nix offlineimap: remove dependency on python2 (#2909) (#2951) 2022-05-10 09:30:40 +02:00
oh-my-posh.nix oh-my-posh: add module 2022-11-02 01:04:42 +01:00
opam.nix opam: add fish integration (#3422) 2022-11-18 09:00:57 -07:00
pandoc.nix pandoc: add new module 2022-01-22 21:16:50 +01:00
password-store.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
pazi.nix Apply nixfmt on many files 2020-02-02 01:07:28 +01:00
pet.nix pet: don't create file without snippets 2022-12-04 12:28:03 +01:00
pidgin.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
pistol.nix pistol: refactor 2022-12-16 17:05:30 +01:00
piston-cli.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
pls.nix pls: add module (#3285) 2022-09-30 12:53:39 -04:00
powerline-go.nix powerline-go: add support for -modules-right 2021-12-03 17:58:03 +01:00
pubs.nix pubs: add module 2022-03-06 10:40:28 +01:00
pylint.nix pylint: add module (#2729) 2022-04-10 21:54:04 -04:00
pywal.nix pywal: fixed i3 config (#3002) 2022-06-15 23:44:52 +02:00
qutebrowser.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
rbw.nix rbw: Fix a typo (#2648) 2022-01-17 16:37:46 -05:00
readline.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
rofi-pass.nix rofi-pass: add rofi-pass plugin for password-store 2020-12-18 23:22:57 +01:00
rofi.nix rofi: add finalPackage option (#2649) 2022-01-17 18:21:40 -05:00
rtorrent.nix rtorrent: change settings to extraConfig 2022-09-15 09:25:46 +02:00
sagemath.nix sagemath: add module 2022-01-11 14:38:02 +01:00
sbt.nix sbt: cache passwordCommand output 2022-10-07 00:40:50 +02:00
scmpuff.nix scmpuff: add fish integration flag 2022-11-21 23:51:05 +01:00
senpai.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
sioyek.nix sioyek: enable multiple bindings for the same command 2022-10-08 22:11:55 +02:00
skim.nix skim: use cfg.package in shell integrations 2022-01-11 16:44:57 +01:00
sm64ex.nix treewide: prefer XDG variables over dot directories 2021-12-10 23:51:44 +01:00
sqls.nix sqls: add module 2021-12-11 00:21:49 +01:00
ssh.nix ssh: add generic Match support for matchBlocks (#2992) 2022-11-27 16:15:32 +01:00
starship.nix starship: re-add ion integration 2022-12-28 18:16:31 +01:00
swaylock.nix swaylock: Add module (#3003) 2022-06-07 21:01:14 +02:00
taskwarrior.nix taskwarrior: minor script cleanup 2022-04-07 23:35:55 +02:00
tealdeer.nix tealdeer: add module (#2928) 2022-05-01 08:27:04 -06:00
terminator.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
termite.nix termite: add option to enable VTE integration (#1917) 2021-04-20 19:45:39 -04:00
texlive.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
thunderbird.nix thunderbird: use account id for IMAP directory name 2022-12-04 13:49:29 +01:00
timidity.nix timidity: add module 2022-01-22 16:46:16 +01:00
tint2.nix tint2: correctly reference the provided package (#3125) 2022-08-02 20:01:13 -04:00
tiny.nix treewide: remove trailing white spaces and tabs 2022-06-21 00:55:32 +02:00
tmate.nix tmate: add module 2022-09-26 00:28:00 +02:00
tmux.nix tmux: fix broken vi bindings (#2817) 2022-03-21 16:25:36 -06:00
topgrade.nix treewide: prefer XDG variables over dot directories 2021-12-10 23:51:44 +01:00
urxvt.nix urxvt: fix package name 2022-09-30 15:08:02 -03:00
vim.nix treewide: use remove when possible 2021-12-27 09:03:18 +01:00
vscode.nix vscode: fix invalid examples 2022-11-03 09:24:25 +01:00
watson.nix watson: add module 2022-01-22 16:12:34 +01:00
waybar.nix waybar: fix command not found when reloading (#2865) 2022-04-16 18:31:03 -04:00
wezterm.nix wezterm: support color schemes 2022-08-14 20:57:22 +02:00
xmobar.nix xmobar: fix maintainers entry for t4ccer 2021-12-29 09:50:56 +01:00
yt-dlp.nix yt-dlp: fix settings example 2022-12-03 04:20:00 +00:00
z-lua.nix z-lua: Add shell aliases to fish (#2376) 2021-10-06 08:49:56 -06:00
zathura.nix zathura: add mappings option 2022-08-14 21:27:06 +02:00
zellij.nix zellij: add configuration for darwin 2022-03-30 23:56:01 +02:00
zoxide.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
zplug.nix programs.zsh: set ZPLUG_HOME before loading zplug (#2987) 2022-11-27 18:50:46 +01:00
zsh.nix programs.zsh: generate a more compact config (#3170) 2022-11-18 09:27:43 -07:00