fix: remove namePrefix and nameSuffix

Was a stupid feature, and it just didn't work...
main
LeMarsu 2024-05-28 22:12:26 +02:00
parent d66d4b80e0
commit 09aa1485b1
2 changed files with 1 additions and 11 deletions

View File

@ -4,8 +4,6 @@
}: {
pkgs,
package ? pkgs.neovim-unwrapped,
namePrefix ? "",
nameSuffix ? "",
dependencies ? [],
dependenciesExtraArgs ? {},
runtime ? {},
@ -38,7 +36,5 @@
}
// {luaRcContent = customRC;};
pkg = pkgs.wrapNeovimUnstable package (removeAttrs neovimConfig ["manifestRc" "neovimRcContent"]);
# TODO nameSuffix is buggy :'(
name = "${namePrefix}${pkg.name}${nameSuffix}";
in
builtins.seq (types.mkNeovimPkgOptions config) pkg // {inherit name;}
builtins.seq (types.mkNeovimPkgOptions config) pkg

View File

@ -77,12 +77,6 @@
# Default is pkgs.neovim-unwrapped
package = option drv;
# The prefix to add to the name of the package
namePrefix = option string;
# The suffix to add to the name of the package
nameSuffix = option string;
# An array of dependencies.
dependencies = list dependency;