try fix nix

This commit is contained in:
Leon Vatthauer 2024-04-06 19:07:23 +02:00
parent 9678de017e
commit de0202b025
Signed by: leonv
SSH key fingerprint: SHA256:G4+ddwoZmhLPRB1agvXzZMXIzkVJ36dUYZXf5NxT+u8

View file

@ -1,10 +1,12 @@
{ stdenv, git, go, hugo }: { stdenv, git, go, hugo }:
stdenv.mkDerivation { stdenv.mkDerivation {
name = "resumee-website"; name = "resumee-website";
version = "1.0";
src = "./website"; src = "./website";
nativeBuildInputs = [ git go hugo ]; nativeBuildInputs = [ git go hugo ];
buildPhase = "hugo -d $out"; buildPhase = "hugo -d $out";
outputHashAlgo = "sha256"; outputHashAlgo = "sha256";
outputHashMode = "recursive"; outputHashMode = "recursive";
outputHash = "sha256-k46/umNJ9Q8FsZDCRvG/YmyU3IAkL5bzTvhWxdbNXso="; outputHash = "sha256-k46/umNJ9Q8FsZDCRvG/YmyU3IAkL5bzTvhWxdbNXso=";
sourceRoot = name;
} }