about summary refs log tree commit diff
path: root/pkgs/applications/networking/cluster/temporal
diff options
context:
space:
mode:
authorJonathan Rudenberg <jonathan@titanous.com>2022-02-19 19:23:45 -0500
committerArtturin <Artturin@artturin.com>2023-03-05 19:53:41 +0200
commitd13f127e1a639340ee703f7b2ab160a3193ad7cc (patch)
tree9adca017d73807487549edb6ec716b53d1b28b84 /pkgs/applications/networking/cluster/temporal
parenta08d6979dd7c82c4cef0dcc6ac45ab16051c1169 (diff)
temporal: include database schemas
Diffstat (limited to 'pkgs/applications/networking/cluster/temporal')
-rw-r--r--pkgs/applications/networking/cluster/temporal/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/applications/networking/cluster/temporal/default.nix b/pkgs/applications/networking/cluster/temporal/default.nix
index 9fe3edcbb99c8..f7b4a32a388a3 100644
--- a/pkgs/applications/networking/cluster/temporal/default.nix
+++ b/pkgs/applications/networking/cluster/temporal/default.nix
@@ -25,6 +25,9 @@ buildGoModule rec {
   installPhase = ''
     runHook preInstall
 
+    mkdir -p $out/share
+    cp -r ./schema $out/share/
+
     install -Dm755 "$GOPATH/bin/server" -T $out/bin/temporal-server
     install -Dm755 "$GOPATH/bin/cassandra" -T $out/bin/temporal-cassandra-tool
     install -Dm755 "$GOPATH/bin/sql" -T $out/bin/temporal-sql-tool