95e761e59b
Nest the blog work within the website directory.
12 lines
242 B
Nix
12 lines
242 B
Nix
{ pkgs, ... }:
|
|
|
|
pkgs.stdenv.mkDerivation {
|
|
name = "blog.wpcarro.dev";
|
|
buildInputs = with pkgs; [ hugo ];
|
|
src = ./.;
|
|
buildPhase = ''
|
|
mkdir -p $out
|
|
${pkgs.hugo}/bin/hugo --minify --destination $out
|
|
'';
|
|
dontInstall = true;
|
|
}
|