From e2ee7b63f8c29cd447ba8b8b080aaac162d17017 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Mon, 4 Nov 2024 20:47:34 +0100 Subject: build(tree-sitter-yts): Include in builds --- flake.nix | 5 +++-- 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 = { -- cgit 1.4.1