summary refs log tree commit diff
diff options
context:
space:
mode:
authorsternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org>2021-06-14 18:50:50 +0200
committersternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org>2021-06-14 18:50:50 +0200
commit922f7d2a4ea81a08d0bafe2265c57851eb9aceb3 (patch)
treeb4147e168dd78a55afb8334890fafb3d4c49419d
parenta06d4c33c3dcc9c240e3b58b6757f9cc0e52cf09 (diff)
fix(warteraum): fix token generation in build
need hashtoken to be able to run it…
-rw-r--r--nix/warteraum.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nix/warteraum.nix b/nix/warteraum.nix
index 326383e..f935165 100644
--- a/nix/warteraum.nix
+++ b/nix/warteraum.nix
@@ -28,6 +28,7 @@ let
   tokensReplace = lib.optionalString (apiTokens != null) ''
     sed -i '/^  {/d' tokens.h
     sed -i '/^};/d' tokens.h
+    make hashtoken
     ${lib.concatMapStringsSep "\n"
         (x: "./hashtoken ${x} >> tokens.h; echo -n ', ' >> tokens.h") apiTokens}
     echo "};" >> tokens.h