about summary refs log tree commit diff
path: root/kittybox.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 /kittybox.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 'kittybox.nix')
-rw-r--r--kittybox.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/kittybox.nix b/kittybox.nix
index 397e057..2dd6ee6 100644
--- a/kittybox.nix
+++ b/kittybox.nix
@@ -1,4 +1,4 @@
-{ stdenv, lib, naersk, lld, mold
+{ stdenv, lib, naersk, lld, mold, typescript
 , openssl, zlib, pkg-config, protobuf
 , useWebAuthn ? false }:
 
@@ -15,7 +15,7 @@ naersk.buildPackage {
     "--no-default-features" "--features=\"webauthn\""
   ]);
   buildInputs = lib.optional useWebAuthn openssl;
-  nativeBuildInputs = lib.optional useWebAuthn pkg-config;
+  nativeBuildInputs = [ typescript ] ++ (lib.optional useWebAuthn pkg-config);
 
   meta = with lib.meta; {
     maintainers = with lib.maintainers; [ vikanezrimaya ];