diff options
| author | cashmere <cashmere@autistici.org> | 2026-07-30 20:12:09 +0200 |
|---|---|---|
| committer | cashmere <cashmere@autistici.org> | 2026-07-30 20:12:09 +0200 |
| commit | 465071d8232e74b1690280a38a86d435269fc35d (patch) | |
| tree | f9ce8eb12cf87928eb9d528c1359e3fbb8e44b32 /shell.nix | |
| parent | 01509b53c6bc6e891c55da7093e1fdf5d29499d7 (diff) | |
| download | opencut-465071d8232e74b1690280a38a86d435269fc35d.tar.gz | |
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
Diffstat (limited to 'shell.nix')
| -rw-r--r-- | shell.nix | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/shell.nix b/shell.nix new file mode 100644 index 00000000..93c79af8 --- /dev/null +++ b/shell.nix @@ -0,0 +1,11 @@ +let + sources = import ./npins; + pkgs = import sources.nixpkgs { }; +in +pkgs.mkShell { + packages = with pkgs; [ + bun + just + nodejs + ]; +} |
