summary refs log tree commit diff
path: root/pkgs/servers/web-apps/plausible/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/servers/web-apps/plausible/default.nix')
-rw-r--r--pkgs/servers/web-apps/plausible/default.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/servers/web-apps/plausible/default.nix b/pkgs/servers/web-apps/plausible/default.nix
index 7fb17199562..c2de1ae9881 100644
--- a/pkgs/servers/web-apps/plausible/default.nix
+++ b/pkgs/servers/web-apps/plausible/default.nix
@@ -73,7 +73,10 @@ in beamPackages.mixRelease {
     mkdir -p $out
     ln -sf ${yarnDeps}/node_modules assets/node_modules
     npm run deploy --prefix ./assets
-    mix release plausible --no-deps-check --path $out
+
+    # for external task you need a workaround for the no deps check flag
+    # https://github.com/phoenixframework/phoenix/issues/2690
+    mix do deps.loadpaths --no-deps-check, phx.digest
 
     runHook postBuild
   '';