aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSandro Jäckel2021-01-01 17:11:38 +0100
committerSandro Jäckel2021-01-01 17:11:38 +0100
commitfdc0f39816cc9c972d0cc53c082d79b69cee8b21 (patch)
tree6c74c5042212aeed0632ec657182b2b56e5f3e86
parent0baa389486c4e3a980c7efa8102401bb0dcbfba5 (diff)
Cleanup
-rw-r--r--TODO3
-rw-r--r--front/default.nix30
2 files changed, 2 insertions, 31 deletions
diff --git a/TODO b/TODO
index 9ec641d..f488d52 100644
--- a/TODO
+++ b/TODO
@@ -1 +1,2 @@
-Remove Google Tag Manager
+- Remove Google Tag Manager
+- Do we need website?
diff --git a/front/default.nix b/front/default.nix
index 794f4a5..786384f 100644
--- a/front/default.nix
+++ b/front/default.nix
@@ -1,27 +1,5 @@
with (import <nixpkgs> { }); let
-
workadventure-messages = import ../messages;
-
- # node-abi = "83";
-
- # node-grpc-precompiled = pkgs.fetchzip {
- # name = "node-grpc-precompiled-node-${node-abi}";
- # url = "https://node-precompiled-binaries.grpc.io/grpc/v1.24.4/node-v${node-abi}-linux-x64-glibc.tar.gz";
- # sha256 = "119rhhk1jpi2vwyim7byq3agacasc4q25c26wyzfmy8vk2ih6ndj";
- # };
-
- # node-grpc-patched = pkgs.stdenv.mkDerivation {
- # name = "node-grpc";
- # buildInputs = [ stdenv.cc.cc ];
- # nativeBuildInputs = [ pkgs.autoPatchelfHook ];
- # dontUnpack = true;
- # # spams console
- # dontStrip = true;
- # installPhase = ''
- # install -D -m755 ${node-grpc-precompiled}/grpc_node.node $out/bin/grpc_node.node
- # '';
- # };
-
in
yarn2nix-moretea.mkYarnPackage rec {
pname = "workadventurefront";
@@ -40,14 +18,6 @@ yarn2nix-moretea.mkYarnPackage rec {
nativeBuildInputs = [ makeWrapper ];
- # pkgConfig = {
- # grpc = {
- # postInstall = ''
- # install -D -m755 ${node-grpc-patched}/bin/grpc_node.node src/node/extension_binary/node-v${node-abi}-linux-x64-glibc/grpc_node.node
- # '';
- # };
- # };
-
dontStrip = true;
buildPhase = ''