diff --git a/default.nix b/default.nix index 01b77ebc..aa050e05 100644 --- a/default.nix +++ b/default.nix @@ -55,4 +55,11 @@ pkgs.buildGoModule rec { pnpm build-rmo pnpm build-sync ''; + + postInstall = '' + # Copy frontend build output to artifacts so we can upload them to sentry + mkdir -p $out/share/frontend/ + cp -r vite/rmo/static/gen/rmo $out/share/frontend/ + cp -r vite/rmo/static/gen/sync $out/share/frontend/ + ''; }