aboutsummaryrefslogtreecommitdiff
path: root/pusher
diff options
context:
space:
mode:
Diffstat (limited to 'pusher')
-rw-r--r--pusher/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pusher/default.nix b/pusher/default.nix
index bdace68..44c4c68 100644
--- a/pusher/default.nix
+++ b/pusher/default.nix
@@ -60,11 +60,14 @@ yarn2nix-moretea.mkYarnPackage rec {
dontStrip = true;
+ # workadventureback below is a package name extracted from package.json,
+ # intended until upstream fixes that up.
buildPhase = ''
mkdir -p $out
ln -s ${workadventure.messages.outPath}/generated deps/workadventureback/src/Messages/generated
HOME=$TMPDIR yarn --offline run tsc
cp -r deps/workadventureback/dist $out/dist
+ rm -rf deps/workadventureback/{src,node_modules}
'';
postInstall = ''