From: self <self@awful.systems>
Date: Mon, 21 Aug 2023 18:53:18 +0000 (-0700)
Subject: fix submodule error
X-Git-Url: http://these/git/%7B%60/feeds/static/readmes/%7BcanonicalUrl%7D?a=commitdiff_plain;h=refs%2Fheads%2Fmain;p=lemmy-ui.git

fix submodule error
---

diff --git a/default.nix b/default.nix
index fde3e1f..34c59d2 100644
--- a/default.nix
+++ b/default.nix
@@ -51,6 +51,7 @@ in mkYarnPackage {
     ln -sf $PWD/node_modules $PWD/deps/lemmy-ui/
     echo 'export const VERSION = "${version}";' > $PWD/deps/lemmy-ui/src/shared/version.ts
 
+    rm -rf deps/lemmy-ui/lemmy-translations
     ln -sf ${lemmy-translations} deps/lemmy-ui/lemmy-translations
 
     yarn --offline build:prod