Commit graph

5 commits

Author SHA1 Message Date
fdac2e3699 C2(jobsync): impl — add /tmp and /data directories to nix container
Prisma's get-platform module requires /tmp for temp files. Nix
containers don't create standard directories by default.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-08 09:10:11 -07:00
846d879b40 C2(jobsync): impl — fix @prisma/engines copy in installPhase
The cp -r of @prisma/ into an existing node_modules/@prisma/ nested
incorrectly. Use cp -rn with glob to merge contents instead.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-08 09:00:24 -07:00
27039e7fe7 C2(jobsync): impl — fix entrypoint to use local prisma binary
npx is not available in the nix container. Call prisma directly via
node node_modules/prisma/build/index.js instead.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-08 08:39:42 -07:00
b1616bc96b C2(jobsync): impl — fix nix derivation for ringtail build
Use nixpkgs prisma-engines to avoid network downloads in nix sandbox.
Patch out Google Fonts import (Inter) since sandbox blocks network;
falls back to system sans-serif font stack.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 22:28:31 -08:00
874a967000 C2(jobsync): impl — nix container derivation and entrypoint
Add containers/jobsync/default.nix (buildNpmPackage + dockerTools) and
entrypoint.sh (prisma migrate + node server.js). Hashes are empty
placeholders — will be filled from first build attempt on ringtail.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 22:08:38 -08:00