mirror of
https://github.com/NotAShelf/nvf.git
synced 2024-11-22 21:30:51 +00:00
fix buildPlug patches, update mnw (#343)
* bald frog (gerg-l) * modules/default.nix: make patches work on built plugins * flake.lock: Update Flake lock file updates: • Updated input 'mnw': 'github:Gerg-L/mnw/302b18ddb8498aa9a7e0c01f7026e49d545e6898?narHash=sha256-4Z2FtCuL0lT%2BsM2gb1JMcXOUkeYrWeYZjjs1HuVTlOs%3D' (2024-07-14) → 'github:Gerg-L/mnw/4ea225024677e7c3a96080af8624fd3aa5dfa1b6?narHash=sha256-PF/FbgCUZ6mQrKp28G2YoVDlSThBy8AxIT9d2Ju3kTY%3D' (2024-07-20) --------- Co-authored-by: raf <raf@notashelf.dev>
This commit is contained in:
parent
2b8d0af2e6
commit
589b86d378
3 changed files with 16 additions and 10 deletions
|
@ -46,8 +46,6 @@ configuration formats.
|
||||||
- Fix [](#opt-vim.ui.smartcolumn.setupOpts.custom_colorcolumn) using the wrong
|
- Fix [](#opt-vim.ui.smartcolumn.setupOpts.custom_colorcolumn) using the wrong
|
||||||
type `int` instead of the expected type `string`.
|
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
|
||||||
|
|
|
@ -69,11 +69,11 @@
|
||||||
},
|
},
|
||||||
"mnw": {
|
"mnw": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1720927281,
|
"lastModified": 1721440413,
|
||||||
"narHash": "sha256-4Z2FtCuL0lT+sM2gb1JMcXOUkeYrWeYZjjs1HuVTlOs=",
|
"narHash": "sha256-PF/FbgCUZ6mQrKp28G2YoVDlSThBy8AxIT9d2Ju3kTY=",
|
||||||
"owner": "Gerg-L",
|
"owner": "Gerg-L",
|
||||||
"repo": "mnw",
|
"repo": "mnw",
|
||||||
"rev": "302b18ddb8498aa9a7e0c01f7026e49d545e6898",
|
"rev": "4ea225024677e7c3a96080af8624fd3aa5dfa1b6",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -36,11 +36,19 @@ inputs: {
|
||||||
buildPlug = {pname, ...} @ attrs: let
|
buildPlug = {pname, ...} @ attrs: let
|
||||||
src = getAttr ("plugin-" + pname) inputs;
|
src = getAttr ("plugin-" + pname) inputs;
|
||||||
in
|
in
|
||||||
pkgs.runCommand "${pname}-${src.shortRev or src.shortDirtyRev or "dirty"}" attrs
|
pkgs.stdenvNoCC.mkDerivation ({
|
||||||
''
|
inherit src;
|
||||||
|
version = src.shortRev or src.shortDirtyRev or "dirty";
|
||||||
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
|
||||||
mkdir -p $out
|
mkdir -p $out
|
||||||
cp -r ${src}/. $out
|
cp -r . $out
|
||||||
|
|
||||||
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
}
|
||||||
|
// attrs);
|
||||||
|
|
||||||
noBuildPlug = {pname, ...} @ attrs: let
|
noBuildPlug = {pname, ...} @ attrs: let
|
||||||
input = getAttr ("plugin-" + pname) inputs;
|
input = getAttr ("plugin-" + pname) inputs;
|
||||||
|
|
Loading…
Reference in a new issue