about summary refs log tree commit diff
path: root/flake.nix
diff options
context:
space:
mode:
authorVika <vika@fireburn.ru>2022-09-28 23:13:02 +0300
committerVika <vika@fireburn.ru>2022-09-28 23:13:02 +0300
commitc35a55babd9aa6e1ad8797f3d54deec2f78ff78a (patch)
tree742023e1d1e75601b7f7cc4020b53938e82416d8 /flake.nix
parentf420c7fd09b0f9ef82784a9c49889f620e73e886 (diff)
downloadkittybox-c35a55babd9aa6e1ad8797f3d54deec2f78ff78a.tar.zst
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.
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix5
1 files changed, 4 insertions, 1 deletions
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;
+    };
   });
 }