2023-01-24 17:20:04 +00:00
|
|
|
{
|
|
|
|
jekyll, tailwindWithTypography
|
|
|
|
, stdenv
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
pname = "moxxyv2-website";
|
|
|
|
version = "0.1.0";
|
|
|
|
src = ./../.;
|
|
|
|
|
|
|
|
buildPhase = ''
|
2023-01-24 17:35:55 +00:00
|
|
|
${jekyll}/bin/jekyll build --future
|
2023-01-24 17:20:04 +00:00
|
|
|
cp -r ./assets _site/assets
|
|
|
|
${tailwindWithTypography}/bin/tailwindcss --input ./input.css --output ./_site/assets/css/index.css
|
|
|
|
'';
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/var/www/
|
2023-01-24 17:42:57 +00:00
|
|
|
mv _site/ $out/var/www/website
|
2023-01-24 17:20:04 +00:00
|
|
|
'';
|
|
|
|
}
|