From 236c65287b42836281095cd340a826ddcfb1b800 Mon Sep 17 00:00:00 2001 From: ekzyis Date: Sat, 6 Dec 2025 14:26:36 +0100 Subject: [PATCH] Fix rm fails if public/ doesn't exist --- flake.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index e982557..9393dbf 100644 --- a/flake.nix +++ b/flake.nix @@ -25,7 +25,7 @@ type = "app"; program = toString (pkgs.writeShellScript "serve" '' set -xe - rm -r public/ + rm -rf public/ cp -r static/ public/ ${pkgs.go}/bin/go run xbuild.go ${pkgs.tailwindcss}/bin/tailwindcss -i input.css -o public/css/tailwind.css