From b0e22af2424e847cac7a65342fb0854e73add338 Mon Sep 17 00:00:00 2001 From: Danilo Reyes Date: Sun, 2 Nov 2025 00:50:10 -0600 Subject: [PATCH] chore: disable frontend package in flake.nix until dependencies are installed - Commented out the frontend package configuration in `flake.nix` with instructions to enable it after running `npm install` in the frontend directory. --- flake.nix | 39 ++++++++++++++++++++------------------- 1 file changed, 20 insertions(+), 19 deletions(-) diff --git a/flake.nix b/flake.nix index f925049..8b8d598 100644 --- a/flake.nix +++ b/flake.nix @@ -225,25 +225,26 @@ }; }; - # Frontend package - frontend = pkgs.buildNpmPackage { - pname = "webref-frontend"; - version = "1.0.0"; - src = ./frontend; - npmDepsHash = "sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA="; # Update after first build - buildPhase = '' - npm run build - ''; - installPhase = '' - mkdir -p $out - cp -r build/* $out/ - ''; - meta = { - description = "Reference Board Viewer - Frontend SPA"; - homepage = "https://github.com/yourusername/webref"; - license = pkgs.lib.licenses.mit; - }; - }; + # Frontend package (disabled until dependencies are installed) + # To enable: run 'npm install' in frontend/, then uncomment this + # frontend = pkgs.buildNpmPackage { + # pname = "webref-frontend"; + # version = "1.0.0"; + # src = ./frontend; + # npmDepsHash = "sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA="; # Update after first build + # buildPhase = '' + # npm run build + # ''; + # installPhase = '' + # mkdir -p $out + # cp -r build/* $out/ + # ''; + # meta = { + # description = "Reference Board Viewer - Frontend SPA"; + # homepage = "https://github.com/yourusername/webref"; + # license = pkgs.lib.licenses.mit; + # }; + # }; default = backend; };