From c35a55babd9aa6e1ad8797f3d54deec2f78ff78a Mon Sep 17 00:00:00 2001 From: Vika Date: Wed, 28 Sep 2022 23:13:02 +0300 Subject: Switch to TypeScript This neccesitates installing TypeScript to build Kittybox, but thankfully Nix actually takes care of that. Build Kittybox with Nix and you won't have problems. Also now I can safely do stuff. --- flake.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index 5c3ed37..c4063b8 100644 --- a/flake.nix +++ b/flake.nix @@ -25,6 +25,7 @@ packages = { kittybox = pkgs.callPackage ./kittybox.nix { naersk = naersk.lib.${system}; + inherit (pkgs.nodePackages) typescript; }; default = self.packages.${system}.kittybox; }; @@ -40,6 +41,8 @@ }; }; - devShells.default = pkgs.callPackage ./shell.nix {}; + devShells.default = pkgs.callPackage ./shell.nix { + inherit (pkgs.nodePackages) typescript; + }; }); } -- cgit 1.4.1