update lock file
This commit is contained in:
parent
efd4f06e0d
commit
a84098dd91
2 changed files with 8 additions and 9 deletions
12
flake.lock
12
flake.lock
|
@ -202,11 +202,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1669387357,
|
"lastModified": 1670827406,
|
||||||
"narHash": "sha256-z1azVj/5Em5kGhh9OgBOsjTEgMab7hXL/aRilH9tzyI=",
|
"narHash": "sha256-nLNk7uiLbhbvb4TVz67XK7+Ezr1zcWYDWmNrWGmEUqA=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "55b3f68bda6d4f4dc6092eed0508063f154fa4fd",
|
"rev": "ffca9ffaaafb38c8979068cee98b2644bd3f14cb",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -337,11 +337,11 @@
|
||||||
"plenary-nvim": {
|
"plenary-nvim": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1663402373,
|
"lastModified": 1664607953,
|
||||||
"narHash": "sha256-d06QP5JGhpH6UUVF9STYzfJMzvg5HrJfDqlAoVXaLeM=",
|
"narHash": "sha256-lIdBrVpi+vUudeotjFAuw4C0VT8TPoFE9cVVAQEsAYU=",
|
||||||
"owner": "nvim-lua",
|
"owner": "nvim-lua",
|
||||||
"repo": "plenary.nvim",
|
"repo": "plenary.nvim",
|
||||||
"rev": "62dc2a7acd2fb2581871a36c1743b29e26c60390",
|
"rev": "4b7e52044bbb84242158d977a50c4cbcd85070c7",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -24,9 +24,8 @@ let
|
||||||
tree-sitter = (inputs.tree-sitter.override { inherit extraGrammars; });
|
tree-sitter = (inputs.tree-sitter.override { inherit extraGrammars; });
|
||||||
grammars = tree-sitter.withPlugins (g: [ g.tree-sitter-d2 ]);
|
grammars = tree-sitter.withPlugins (g: [ g.tree-sitter-d2 ]);
|
||||||
|
|
||||||
nvim-treesitter-with-grammars = inputs.nvim-treesitter.withAllGrammars;
|
nvim-treesitter = inputs.nvim-treesitter.withAllGrammars.overrideAttrs (oldAttrs: {
|
||||||
nvim-treesitter = nvim-treesitter-with-grammars.overrideAttrs (oldAttrs: {
|
passthru.dependencies = oldAttrs.passthru.dependencies ++ [
|
||||||
passthru.dependencies = nvim-treesitter-with-grammars.dependencies ++ [
|
|
||||||
(runCommand "nvim-treesitter-d2-grammar" { } ''
|
(runCommand "nvim-treesitter-d2-grammar" { } ''
|
||||||
mkdir -p $out/parser
|
mkdir -p $out/parser
|
||||||
ln -s ${grammars}/d2.so $out/parser/d2.so
|
ln -s ${grammars}/d2.so $out/parser/d2.so
|
||||||
|
|
Reference in a new issue