forked from lix-project/lix-website
19 lines
285 B
Nix
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
|
|
'';
|
|
}
|