diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2024-08-03 00:33:10 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2024-08-03 00:37:20 +0200 |
commit | 2887cca3e2aaf392bb405fe3b14f6eaad726d72d (patch) | |
tree | bf29631d732b3bfc5d3d95f915fc6b4ee3a1cce0 /flakes/mypackages/pkgs/webapps | |
parent | c55a138ea7448b26940ee9ba1c5853b0292a19d5 (diff) | |
download | Nix-2887cca3e2aaf392bb405fe3b14f6eaad726d72d.tar.gz Nix-2887cca3e2aaf392bb405fe3b14f6eaad726d72d.tar.zst Nix-2887cca3e2aaf392bb405fe3b14f6eaad726d72d.zip |
Fix e-mails for mantisbt
Diffstat (limited to 'flakes/mypackages/pkgs/webapps')
-rw-r--r-- | flakes/mypackages/pkgs/webapps/mantisbt_2/default.nix | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/flakes/mypackages/pkgs/webapps/mantisbt_2/default.nix b/flakes/mypackages/pkgs/webapps/mantisbt_2/default.nix index 942e32c..f3d5be8 100644 --- a/flakes/mypackages/pkgs/webapps/mantisbt_2/default.nix +++ b/flakes/mypackages/pkgs/webapps/mantisbt_2/default.nix | |||
@@ -1,4 +1,4 @@ | |||
1 | { mantis_config ? "/etc/mantisbt/config_inc.php", stdenv, fetchurl, lib, callPackage}: | 1 | { mantis_config ? {}, stdenv, fetchurl, lib, callPackage}: |
2 | let | 2 | let |
3 | pluginNames = [ "slack" "source-integration" "taskodrome" "mantis-kanban" "tasks" ]; | 3 | pluginNames = [ "slack" "source-integration" "taskodrome" "mantis-kanban" "tasks" ]; |
4 | allPlugins = lib.attrsets.genAttrs pluginNames | 4 | allPlugins = lib.attrsets.genAttrs pluginNames |
@@ -37,8 +37,7 @@ let | |||
37 | #]; | 37 | #]; |
38 | installPhase = '' | 38 | installPhase = '' |
39 | cp -a . $out | 39 | cp -a . $out |
40 | ln -s ${mantis_config} $out/config/config_inc.php | 40 | '' + builtins.concatStringsSep "\n" (lib.mapAttrsToList (k: v: "ln -s ${v} $out/config/${k}.php") mantis_config); |
41 | ''; | ||
42 | 41 | ||
43 | passthru = toPassthru package []; | 42 | passthru = toPassthru package []; |
44 | }; | 43 | }; |