feat: Make prettier
This commit is contained in:
@@ -2,23 +2,29 @@
|
||||
lib, stdenv
|
||||
, python3
|
||||
, shared-assets
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
, tailwindWithTypography
|
||||
}: let
|
||||
pythonEnv = python3.withPackages (ps: with ps; [
|
||||
markdown pygments
|
||||
]);
|
||||
in stdenv.mkDerivation {
|
||||
pname = "website";
|
||||
version = "202205120-01";
|
||||
version = "20230716";
|
||||
|
||||
src = ../.;
|
||||
|
||||
buildInputs = [ shared-assets python3 ];
|
||||
|
||||
buildPhase = ''
|
||||
${python3}/bin/python ${shared-assets}/bin/makesite.py \
|
||||
${pythonEnv}/bin/python ${shared-assets}/bin/makesite.py \
|
||||
-v page_assets=https://cdn.polynom.me \
|
||||
--assets ./assets \
|
||||
--copy-assets \
|
||||
--include robots.txt \
|
||||
-p params.json
|
||||
|
||||
# Build Tailwind CSS data
|
||||
${tailwindWithTypography}/bin/tailwindcss --input ./input.css --output _site/assets/css/index.css
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
|
||||
Reference in New Issue
Block a user