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 --- flake.nix | 33 --------------------------------- 1 file changed, 33 deletions(-) delete mode 100644 flake.nix (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix deleted file mode 100644 index fab10705..00000000 --- a/flake.nix +++ /dev/null @@ -1,33 +0,0 @@ -{ - description = "OpenCut Classic development shell"; - - inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; - - outputs = - { nixpkgs, ... }: - let - systems = [ - "x86_64-linux" - "aarch64-linux" - "aarch64-darwin" - ]; - forEachSystem = nixpkgs.lib.genAttrs systems; - in - { - devShells = forEachSystem ( - system: - let - pkgs = import nixpkgs { inherit system; }; - in - { - default = pkgs.mkShell { - packages = with pkgs; [ - bun - just - nodejs - ]; - }; - } - ); - }; -} -- cgit v1.3.1