update nix files

This commit is contained in:
Tim Schubert 2021-08-19 01:26:31 +02:00
parent 0dca9733e7
commit fdf65e138d
Signed by: dadada
GPG key ID: EEB8D1CE62C4DFEA
2 changed files with 6 additions and 6 deletions

14
default.nix Normal file
View file

@ -0,0 +1,14 @@
{ stdenv, hugo }:
stdenv.mkDerivation rec {
src = ./.;
nativeBuildInputs = [ hugo ];
buildPhase = ''
hugo
'';
installPhase = ''
mkdir -p $out
cp -r public/* $out
'';
name = "dadada.li";
version = "0.2";
}