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.
This commit is contained in:
39
flake.nix
39
flake.nix
@@ -225,25 +225,26 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# Frontend package
|
# Frontend package (disabled until dependencies are installed)
|
||||||
frontend = pkgs.buildNpmPackage {
|
# To enable: run 'npm install' in frontend/, then uncomment this
|
||||||
pname = "webref-frontend";
|
# frontend = pkgs.buildNpmPackage {
|
||||||
version = "1.0.0";
|
# pname = "webref-frontend";
|
||||||
src = ./frontend;
|
# version = "1.0.0";
|
||||||
npmDepsHash = "sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA="; # Update after first build
|
# src = ./frontend;
|
||||||
buildPhase = ''
|
# npmDepsHash = "sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA="; # Update after first build
|
||||||
npm run build
|
# buildPhase = ''
|
||||||
'';
|
# npm run build
|
||||||
installPhase = ''
|
# '';
|
||||||
mkdir -p $out
|
# installPhase = ''
|
||||||
cp -r build/* $out/
|
# mkdir -p $out
|
||||||
'';
|
# cp -r build/* $out/
|
||||||
meta = {
|
# '';
|
||||||
description = "Reference Board Viewer - Frontend SPA";
|
# meta = {
|
||||||
homepage = "https://github.com/yourusername/webref";
|
# description = "Reference Board Viewer - Frontend SPA";
|
||||||
license = pkgs.lib.licenses.mit;
|
# homepage = "https://github.com/yourusername/webref";
|
||||||
};
|
# license = pkgs.lib.licenses.mit;
|
||||||
};
|
# };
|
||||||
|
# };
|
||||||
|
|
||||||
default = backend;
|
default = backend;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user