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/%22https:/www.exeterceilidhs.net/%22%7B%7D/static/gitweb.js?a=commitdiff_plain;h=HEAD;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