forked from DGNum/dgnum.eu
15 lines
330 B
Nix
15 lines
330 B
Nix
{ 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 _site $out
|
|
'';
|
|
}
|