From 166ec849f961271f50807e7ab9dda203313b5fa2 Mon Sep 17 00:00:00 2001 From: Ember Keske Date: Mon, 31 Oct 2022 16:33:04 +0100 Subject: [PATCH] fix nix build script --- flake.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/flake.nix b/flake.nix index 92a3e33..c68c562 100644 --- a/flake.nix +++ b/flake.nix @@ -20,11 +20,10 @@ buildPhase = '' mkdir -p themes ln -s ${papermod} themes/PaperMod - hugo --minify - ''; - installPhase = '' - cp -r public $out + mkdir $out + hugo --minify --destination $out ''; + dontInstall = true; }; }; } // (