From e45e05f337e857f8d4c88d060035e556bf65cee3 Mon Sep 17 00:00:00 2001 From: Eli Ribble Date: Thu, 30 Apr 2026 03:09:06 +0000 Subject: [PATCH] Copy vite build output to frontend in nix package Then we can upload the symbols when we run --- default.nix | 7 +++++++ 1 file changed, 7 insertions(+) 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/ + ''; }