fix: remove namePrefix and nameSuffix
Was a stupid feature, and it just didn't work...main
parent
d66d4b80e0
commit
09aa1485b1
|
|
@ -4,8 +4,6 @@
|
||||||
}: {
|
}: {
|
||||||
pkgs,
|
pkgs,
|
||||||
package ? pkgs.neovim-unwrapped,
|
package ? pkgs.neovim-unwrapped,
|
||||||
namePrefix ? "",
|
|
||||||
nameSuffix ? "",
|
|
||||||
dependencies ? [],
|
dependencies ? [],
|
||||||
dependenciesExtraArgs ? {},
|
dependenciesExtraArgs ? {},
|
||||||
runtime ? {},
|
runtime ? {},
|
||||||
|
|
@ -38,7 +36,5 @@
|
||||||
}
|
}
|
||||||
// {luaRcContent = customRC;};
|
// {luaRcContent = customRC;};
|
||||||
pkg = pkgs.wrapNeovimUnstable package (removeAttrs neovimConfig ["manifestRc" "neovimRcContent"]);
|
pkg = pkgs.wrapNeovimUnstable package (removeAttrs neovimConfig ["manifestRc" "neovimRcContent"]);
|
||||||
# TODO nameSuffix is buggy :'(
|
|
||||||
name = "${namePrefix}${pkg.name}${nameSuffix}";
|
|
||||||
in
|
in
|
||||||
builtins.seq (types.mkNeovimPkgOptions config) pkg // {inherit name;}
|
builtins.seq (types.mkNeovimPkgOptions config) pkg
|
||||||
|
|
|
||||||
|
|
@ -77,12 +77,6 @@
|
||||||
# Default is pkgs.neovim-unwrapped
|
# Default is pkgs.neovim-unwrapped
|
||||||
package = option drv;
|
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.
|
# An array of dependencies.
|
||||||
dependencies = list dependency;
|
dependencies = list dependency;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue