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. --- kittybox.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kittybox.nix') 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 ]; -- cgit 1.4.1