site/site.nix
2024-11-14 18:38:05 +02:00

28 lines
370 B
Nix

{
pkgs
}:
pkgs.stdenv.mkDerivation {
name = "site";
version = "0.1.0";
src = ./.;
# src = pkgs.fetchgit {
# url = "git@einsof.org:/srv/git/repo/magackame/site.git";
# rev = "";
# sha256 = lib.fakeSha256;
# };
buildInputs = with pkgs; [
zola
];
buildPhase = ''
zola build
'';
installPhase = ''
cp -r public $out
'';
}