about summary refs log tree commit diff
path: root/pkgs/servers/authelia/web.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/servers/authelia/web.nix')
-rw-r--r--pkgs/servers/authelia/web.nix6
1 files changed, 2 insertions, 4 deletions
diff --git a/pkgs/servers/authelia/web.nix b/pkgs/servers/authelia/web.nix
index 0153358ea07f5..74ba11325f87d 100644
--- a/pkgs/servers/authelia/web.nix
+++ b/pkgs/servers/authelia/web.nix
@@ -9,11 +9,9 @@ buildNpmPackage {
 
   sourceRoot = "${src.name}/web";
 
-  patches = [
-    ./change-web-out-dir.patch
-  ];
-
   postPatch = ''
+    substituteInPlace ./vite.config.ts \
+      --replace 'outDir: "../internal/server/public_html"' 'outDir: "dist"'
     cp ${./package-lock.json} ./package-lock.json
   '';