mirror of
https://github.com/NotAShelf/nvf.git
synced 2024-11-22 13:20:44 +00:00
modules: fix unused src and version attrs in buildPlug (#340)
* modules: fix unused src and version attrs in buildPlug * docs: add entry for buildPlug fix
This commit is contained in:
parent
a4d35b4419
commit
0f17147d52
2 changed files with 4 additions and 6 deletions
|
@ -25,6 +25,8 @@ Release notes for release 0.7
|
||||||
[vim.ui.smartcolumn.setupOpts.custom_colorcolumn](#opt-vim.ui.smartcolumn.setupOpts.custom_colorcolumn)
|
[vim.ui.smartcolumn.setupOpts.custom_colorcolumn](#opt-vim.ui.smartcolumn.setupOpts.custom_colorcolumn)
|
||||||
using the wrong type `int` instead of the expected type `string`.
|
using the wrong type `int` instead of the expected type `string`.
|
||||||
|
|
||||||
|
- Fix unused src and version attributes in `buildPlug`.
|
||||||
|
|
||||||
[horriblename](https://github.com/horriblename):
|
[horriblename](https://github.com/horriblename):
|
||||||
|
|
||||||
- Fix broken treesitter-context keybinds in visual mode
|
- Fix broken treesitter-context keybinds in visual mode
|
||||||
|
|
|
@ -36,14 +36,10 @@ inputs: {
|
||||||
buildPlug = {pname, ...} @ attrs: let
|
buildPlug = {pname, ...} @ attrs: let
|
||||||
src = getAttr ("plugin-" + pname) inputs;
|
src = getAttr ("plugin-" + pname) inputs;
|
||||||
in
|
in
|
||||||
pkgs.runCommand pname ({
|
pkgs.runCommand "${pname}-${src.shortRev or src.shortDirtyRev or "dirty"}" attrs
|
||||||
inherit src;
|
|
||||||
version = src.shortRev or src.shortDirtyRev or "dirty";
|
|
||||||
}
|
|
||||||
// attrs)
|
|
||||||
''
|
''
|
||||||
mkdir -p $out
|
mkdir -p $out
|
||||||
cp -r . $out
|
cp -r ${src}/. $out
|
||||||
'';
|
'';
|
||||||
|
|
||||||
noBuildPlug = {pname, ...} @ attrs: let
|
noBuildPlug = {pname, ...} @ attrs: let
|
||||||
|
|
Loading…
Reference in a new issue