diff --git a/flake.nix b/flake.nix index 5bd22d4..7f8e682 100644 --- a/flake.nix +++ b/flake.nix @@ -20,10 +20,10 @@ nativeBuildInputs = [ zola ]; configurePhase = '' mkdir -p "themes/${themeName}" - cp -rf ${hermit-zola}/* "themes/${themeName}" + cp -r ${hermit-zola}/* "themes/${themeName}/" ''; - buildPhase = "zola build"; - installPhase = "cp -rf public $out"; + buildPhase = "${zola}/bin/zola build"; + installPhase = "cp -r public $out"; }; defaultPackage = self.packages.${system}.blog;