mirror of
https://github.com/thegeneralist01/archivr
synced 2026-10-09 12:55:00 +02:00
Add frontendDeps (FOD) and frontendStatic derivations to flake.nix so
that nix build handles the Vite bundle automatically. The archivr_server
derivation now copies from ${frontendStatic} instead of
${./crates/archivr-server/static}.
crates/archivr-server/static/ is excluded from git tracking (.gitignore);
the aarch64-darwin node_modules hash is included. Other systems use a
placeholder hash — run `nix build 2>&1 | grep 'got:'` to obtain theirs.
Update AGENTS.md and docs/README.md to reflect the new workflow.
49 lines
687 B
Text
49 lines
687 B
Text
*
|
|
|
|
!.gitignore
|
|
!.github/
|
|
!.github/**
|
|
|
|
!docs/
|
|
!docs/LICENSE
|
|
!docs/README*
|
|
!docs/branding/
|
|
!docs/branding/**
|
|
!crates
|
|
!crates/**
|
|
# Static assets are built by Nix (frontendStatic derivation in flake.nix).
|
|
# Do not commit them; `nix build` produces them from frontend/src/.
|
|
crates/archivr-server/static/
|
|
crates/archivr-server/static/**
|
|
|
|
|
|
!vendor
|
|
!vendor/**
|
|
|
|
!flake.nix
|
|
!flake.lock
|
|
|
|
!Cargo.toml
|
|
!Cargo.lock
|
|
!ARCHIVR-MENTAL-MODEL.md
|
|
!NEXT.md
|
|
!AGENTS.md
|
|
|
|
!Dockerfile
|
|
!.dockerignore
|
|
!docker-compose.yml
|
|
!docker/
|
|
!docker/**
|
|
|
|
!modules/
|
|
!modules/**
|
|
|
|
!frontend/
|
|
!frontend/**
|
|
frontend/node_modules/
|
|
frontend/node_modules/**
|
|
frontend/result
|
|
frontend/result/**
|
|
frontend/dist/
|
|
frontend/dist/**
|
|
.DS_Store
|