dgnum.eu/site/default.nix

16 lines
331 B
Nix
Raw Normal View History

2023-06-14 01:59:59 +02:00
{ glibcLocales, nix-gitignore, ssg, stdenv }:
stdenv.mkDerivation {
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 = ''
cp -av result $out
'';
}