dgnum.eu/site/default.nix

20 lines
332 B
Nix
Raw Normal View History

2023-06-29 23:38:13 +02:00
{ glibcLocales
, nix-gitignore
, ssg
, mkDerivation
}:
2023-06-14 01:59:59 +02:00
2023-06-29 23:38:13 +02:00
mkDerivation {
2023-06-14 01:59:59 +02:00
name = "dgnum.eu";
version = "0.1.0";
srcs = nix-gitignore.gitignoreSourcePure ../.gitignore ./.;
buildInputs = [ glibcLocales ];
LANG = "en_US.UTF-8";
buildPhase = ''
${ssg}/bin/ssg build
'';
installPhase = ''
2023-06-21 15:04:16 +02:00
cp -av _site $out
2023-06-14 01:59:59 +02:00
'';
}