From 0adc4ce3288301591fa6c6ca86d72f92f49df3f9 Mon Sep 17 00:00:00 2001 From: Seth Call Date: Tue, 10 Mar 2026 01:25:31 -0500 Subject: [PATCH] fix: correctly nest repo under /jam-cloud in image --- admin/flake.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/admin/flake.nix b/admin/flake.nix index ae16317f9..6f5c73997 100644 --- a/admin/flake.nix +++ b/admin/flake.nix @@ -91,9 +91,9 @@ src = builtins.path { path = ./..; name = "jam-cloud-root"; }; installPhase = '' mkdir -p $out/jam-cloud - cp -r . $out/jam-cloud/ + cp -a . $out/jam-cloud/ ''; - }; + # 5. A startup script to ensure we are in the right place start-jam-admin = pkgs.writeShellScriptBin "start-jam-admin" '' @@ -104,8 +104,9 @@ echo "🔍 Debugging image structure..." ls -la / + ls -la /jam-cloud || echo "/jam-cloud not found" - cd /admin + cd /jam-cloud/admin echo "🔧 Configuring bundler for native extensions..." bundle config build.psych --with-yaml-dir=${libyaml-joined}