gerg: switch to new repo (#338)

* gerg: switch to new repo

* modules/default: fix buildPlug
This commit is contained in:
Gerg-L 2024-07-14 03:47:21 +00:00 committed by GitHub
commit 1426c83ce6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 23 additions and 31 deletions

View file

@ -36,11 +36,11 @@ inputs: {
buildPlug = {pname, ...} @ attrs: let
src = getAttr ("plugin-" + pname) inputs;
in
pkgs.runCommand pname {
inherit src;
version = src.shortRev or src.shortDirtyRev or "dirty";
}
// attrs
pkgs.runCommand pname ({
inherit src;
version = src.shortRev or src.shortDirtyRev or "dirty";
}
// attrs)
''
mkdir -p $out
cp -r . $out
@ -98,7 +98,7 @@ inputs: {
# Wrap the user's desired (unwrapped) Neovim package with arguments that'll be used to
# generate a wrapped Neovim package.
neovim-wrapped = inputs.neovim-wrapper.legacyPackages.${pkgs.stdenv.system}.neovimWrapper {
neovim-wrapped = inputs.mnw.lib.wrap pkgs {
neovim = vimOptions.package;
plugins = concatLists [builtStartPlugins builtOptPlugins];
appName = "nvf";