lix-website/nix/site-content.nix
2024-04-27 01:10:42 -06:00

19 lines
285 B
Nix

#
# Hugo website output.
# vim: et:ts=2:sw=2:
#
{ pkgs, ... }: pkgs.stdenv.mkDerivation {
name = "site-content";
src = ../.;
nativeBuildInputs = [ pkgs.hugo ];
buildPhase = ''
hugo -D -d _output
'';
installPhase = ''
cp -r _output $out
'';
}