mart-w.de/default.nix

22 lines
309 B
Nix
Raw Normal View History

2024-02-13 03:28:47 +01:00
{pkgs ? import <nixpkgs> {}}:
with pkgs;
stdenv.mkDerivation rec {
name = "mart-w.de-${version}";
version = "0.1";
src = ./.;
nativeBuildInputs = [
hugo
];
buildPhase = ''
hugo
'';
installPhase = ''
mkdir -p $out
cp -r ./public/* $out
'';
}