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}