From 465071d8232e74b1690280a38a86d435269fc35d Mon Sep 17 00:00:00 2001 From: cashmere Date: Thu, 30 Jul 2026 20:12:09 +0200 Subject: build: replace flake with npins, add Nix packages for web and desktop - npins pins nixpkgs-unstable + Inter font tarball; shell.nix replaces the flake devshell - nix/bun-deps.nix: fixed-output bun install of the workspace (hash tied to bun.lock) - nix/web.nix: static Next.js export; next/font/google patched to local Inter for offline builds - nix/desktop.nix: tsc-built Electron app embedding the web export, wrapped with nixpkgs electron; ffmpeg-static satisfied by nixpkgs ffmpeg --- AGENTS.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'AGENTS.md') diff --git a/AGENTS.md b/AGENTS.md index 6c61e44e..6093ab29 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -46,7 +46,7 @@ Domain folders also include `animation/`, `effects/`, `masks/`, `params/`, `prev ## Development Commands -Run from repo root unless noted. `flake.nix` provides a devshell (`nix develop`) with bun (1.3.x) + nodejs (24) + just; the pinned bun 1.2.18 works but so does 1.3.x. The root `justfile` wraps the common commands below (`just` lists them; e.g. `just dev`, `just test `). +Run from repo root unless noted. `shell.nix` provides a devshell (`nix-shell`, nixpkgs pinned via npins in `npins/`) with bun (1.3.x) + nodejs (24) + just; the pinned bun 1.2.18 works but so does 1.3.x. The root `justfile` wraps the common commands below (`just` lists them; e.g. `just dev`, `just test `). Nix packages (npins-pinned): `nix-build -A packages.web` (static Next.js export) and `nix-build -A packages.desktop` (Electron app, `result/bin/opencut`). ```bash bun install -- cgit v1.3.1