From 92151331f378c82ed4a15ab3587410d2e33f6f3e Mon Sep 17 00:00:00 2001 From: Johannes Kirschbauer Date: Wed, 3 Sep 2025 21:33:40 +0200 Subject: [PATCH] ui/devShell: remove fonts directory if exists --- pkgs/clan-app/shell.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/clan-app/shell.nix b/pkgs/clan-app/shell.nix index 680957880..5778d9e55 100644 --- a/pkgs/clan-app/shell.nix +++ b/pkgs/clan-app/shell.nix @@ -91,6 +91,8 @@ mkShell { pushd "$CLAN_CORE_PATH/pkgs/clan-app/ui" export NODE_PATH="$(pwd)/node_modules" export PATH="$NODE_PATH/.bin:$(pwd)/bin:$PATH" + + rm -rf .fonts || true cp -r ${self'.packages.fonts} .fonts chmod -R +w .fonts mkdir -p api