bylaws/build.nix
tnichols217 26c5d86c29
Add dark theme and fix article linking (#1)
* Fix glossary

* add scripts and fix extension

* fix article linking
2025-09-29 00:55:08 +00:00

23 lines
423 B
Nix
Executable File

{ stdenv, buildenv, src, ... }:
stdenv.mkDerivation {
pname = "BetaNuLBL";
version = "0.0.1";
inherit src;
nativeBuildInputs = buildenv;
buildPhase = ''
python glossary.py
cp branding/_brand-color.yml ./brand_light.yml
cp branding/_brand-color_dark.yml ./brand_dark.yml
export HOME=$(pwd)
quarto render --no-cache
'';
installPhase = ''
mkdir -p $out
cp -r _book/* $out
'';
}