{ pkgs }: pkgs.stdenv.mkDerivation rec { name = "website"; version = "0.1.29"; src = /home/grape/code/4o1x5/website; buildInputs = [ pkgs.hugo ]; dontConfigure = true; buildPhase = '' cp -r $src/* . ${pkgs.hugo}/bin/hugo ''; installPhase = '' mkdir -p $out cp -r public/* $out/ ''; }