From ba89c8d2ba6564237cbb6c4b968e73f591457d10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Tue, 4 Apr 2023 10:12:28 +0300 Subject: [PATCH] build: remove extra directory --- flake.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/flake.nix b/flake.nix index c8fe342..235e78f 100644 --- a/flake.nix +++ b/flake.nix @@ -37,8 +37,7 @@ buildPhase = '' ${pkgs.hugo}/bin/hugo --cleanDestinationDir --printPathWarnings --panicOnWarning --log - cd public - find . \ + find public \ -name '*.html' -or \ -name '*.xml' -or \ -name '*.txt' -or \ @@ -49,7 +48,7 @@ ''; installPhase = '' - cd ..; mv public $out + mv public $out ''; };