site/site.nix
2024-11-21 03:48:30 +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
'';
}