diff options
-rw-r--r-- | flake.nix | 5 | ||||
-rw-r--r-- | package/package.nix | 3 |
2 files changed, 5 insertions, 3 deletions
diff --git a/flake.nix b/flake.nix index 8bf0242..abac232 100644 --- a/flake.nix +++ b/flake.nix @@ -46,13 +46,14 @@ SDL2 ]; - yt = pkgs.callPackage ./package/package.nix {inherit blake3;}; + yt = pkgs.callPackage ./package/package.nix {inherit blake3 tree-sitter-yts;}; blake3 = pkgs.callPackage ./package/blake3/blake3.nix {}; + tree-sitter-yts = pkgs.callPackage ./tree-sitter-yts/package.nix {}; treefmtEval = import ./treefmt.nix {inherit treefmt-nix pkgs;}; in { packages = { - inherit yt blake3; + inherit yt blake3 tree-sitter-yts; default = self.packages.${system}.yt; }; diff --git a/package/package.nix b/package/package.nix index 5862b55..a5c33a7 100644 --- a/package/package.nix +++ b/package/package.nix @@ -18,6 +18,7 @@ rustPlatform, sqlite, blake3, + tree-sitter-yts, }: let version = "0.1.0"; @@ -59,7 +60,7 @@ in ''; passthru = { - inherit blake3; + inherit blake3 tree-sitter-yts; }; cargoLock = { |