summary refs log tree commit diff
diff options
context:
space:
mode:
authortalyz <kim.lindberger@gmail.com>2021-08-12 12:33:06 +0200
committertalyz <kim.lindberger@gmail.com>2021-08-17 18:17:56 +0200
commitbb14315d51a1c35304dfd82ff5c1faeaaf2c450c (patch)
tree646d4ea152bf0b6ee78dbf00d6a39d5b1b0bec9e
parent6f2652735817e22c55de3b6e137faf7cdbc3fd2a (diff)
downloadnixpkgs-bb14315d51a1c35304dfd82ff5c1faeaaf2c450c.tar
nixpkgs-bb14315d51a1c35304dfd82ff5c1faeaaf2c450c.tar.gz
nixpkgs-bb14315d51a1c35304dfd82ff5c1faeaaf2c450c.tar.bz2
nixpkgs-bb14315d51a1c35304dfd82ff5c1faeaaf2c450c.tar.lz
nixpkgs-bb14315d51a1c35304dfd82ff5c1faeaaf2c450c.tar.xz
nixpkgs-bb14315d51a1c35304dfd82ff5c1faeaaf2c450c.tar.zst
nixpkgs-bb14315d51a1c35304dfd82ff5c1faeaaf2c450c.zip
discourse: Remove leftover link to unused plugins directory
-rw-r--r--nixos/modules/services/web-apps/discourse.nix1
-rw-r--r--pkgs/servers/web-apps/discourse/default.nix1
2 files changed, 0 insertions, 2 deletions
diff --git a/nixos/modules/services/web-apps/discourse.nix b/nixos/modules/services/web-apps/discourse.nix
index 8d5302ba267..050e4ee3d32 100644
--- a/nixos/modules/services/web-apps/discourse.nix
+++ b/nixos/modules/services/web-apps/discourse.nix
@@ -771,7 +771,6 @@ in
           "tmp"
           "assets/javascripts/plugins"
           "public"
-          "plugins"
           "sockets"
         ];
         RuntimeDirectoryMode = 0750;
diff --git a/pkgs/servers/web-apps/discourse/default.nix b/pkgs/servers/web-apps/discourse/default.nix
index 230d9371ae9..8bec7827e78 100644
--- a/pkgs/servers/web-apps/discourse/default.nix
+++ b/pkgs/servers/web-apps/discourse/default.nix
@@ -274,7 +274,6 @@ let
       ln -sf /run/discourse/config $out/share/discourse/config
       ln -sf /run/discourse/assets/javascripts/plugins $out/share/discourse/app/assets/javascripts/plugins
       ln -sf /run/discourse/public $out/share/discourse/public
-      ln -sf /run/discourse/plugins $out/share/discourse/plugins
       ln -sf ${assets} $out/share/discourse/public.dist/assets
       ${lib.concatMapStringsSep "\n" (p: "ln -sf ${p} $out/share/discourse/plugins/${p.pluginName or ""}") plugins}