update tree-sitters to include javascript

This commit is contained in:
xenia 2023-12-21 14:04:57 +01:00
parent 6191bd4e1b
commit 67361b5fa9
2 changed files with 6 additions and 6 deletions

View File

@ -176,11 +176,11 @@
"nixpkgs": "nixpkgs_3" "nixpkgs": "nixpkgs_3"
}, },
"locked": { "locked": {
"lastModified": 1702320511, "lastModified": 1703163600,
"narHash": "sha256-L3yWNm3a6yguaisCbjLbFCFUsSMwp/DG69LyDALUy+c=", "narHash": "sha256-moGQSMrkzP+3P20Nkx3DIkL2R/rK5/KSakuF4JvPuGw=",
"ref": "refs/heads/main", "ref": "refs/heads/main",
"rev": "3088bcfa224e6f259428054571529b09587af899", "rev": "b43f5ecea195346d4488da3a2f85e7b67360a137",
"revCount": 4, "revCount": 5,
"type": "git", "type": "git",
"url": "https://githug.xyz/xenia/tree-sitters" "url": "https://githug.xyz/xenia/tree-sitters"
}, },

View File

@ -22,14 +22,14 @@
}; };
sitters = tree-sitters.packages.${sys}; sitters = tree-sitters.packages.${sys};
sitterlist = [ sitterlist = [
sitters.bash sitters.c sitters.python sitters.rust sitters.nix sitters.agda sitters.html sitters.bash sitters.c sitters.python sitters.rust sitters.nix sitters.agda sitters.html sitters.javascript
]; ];
kak-tree-bin = platform.buildRustPackage { kak-tree-bin = platform.buildRustPackage {
name = "kak-tree-bin"; name = "kak-tree-bin";
src = ./.; src = ./.;
cargoLock = { lockFile = ./Cargo.lock; }; cargoLock = { lockFile = ./Cargo.lock; };
buildFeatures = ["bash" "c" "python" "rust" "nix" "agda" "html"]; buildFeatures = ["bash" "c" "python" "rust" "nix" "agda" "html" "javascript"];
inherit sitterlist; inherit sitterlist;
preBuild = '' preBuild = ''
mkdir lib mkdir lib