site/site.nix

28 lines
370 B
Nix
Raw Normal View History

2024-11-14 17:35:47 +01:00
{
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
'';
}