diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-11-04 20:47:34 +0100 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-11-04 20:47:34 +0100 |
commit | e2ee7b63f8c29cd447ba8b8b080aaac162d17017 (patch) | |
tree | a1efea288db582a73743aa4f409b153143c1a557 | |
parent | refactor(tree-sitter-yts): Move in tree (diff) | |
download | yt-e2ee7b63f8c29cd447ba8b8b080aaac162d17017.tar.gz yt-e2ee7b63f8c29cd447ba8b8b080aaac162d17017.zip |
build(tree-sitter-yts): Include in builds
-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 = { |