bylaws/build.nix
2025-02-27 00:33:39 -05:00

22 lines
363 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.yml
export HOME=$(pwd)
quarto render --no-cache
'';
installPhase = ''
mkdir -p $out
cp -r _book/* $out
'';
}