diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-05-07 15:07:35 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-05-07 15:07:35 +0200 |
commit | e6abbae25ce533e8d38a0e8318b1d5d5a35d813d (patch) | |
tree | 595ba9116ce5593594994bfcfec775c1b4488ba5 /pkgs/webapps/mantisbt_2 | |
parent | 79d2de8b83d765721b2cb720b2bc59673df54a4a (diff) | |
download | Nix-e6abbae25ce533e8d38a0e8318b1d5d5a35d813d.tar.gz Nix-e6abbae25ce533e8d38a0e8318b1d5d5a35d813d.tar.zst Nix-e6abbae25ce533e8d38a0e8318b1d5d5a35d813d.zip |
Fix passthru’s in pkgs
Diffstat (limited to 'pkgs/webapps/mantisbt_2')
-rw-r--r-- | pkgs/webapps/mantisbt_2/default.nix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/webapps/mantisbt_2/default.nix b/pkgs/webapps/mantisbt_2/default.nix index 3283a01..bb2aad3 100644 --- a/pkgs/webapps/mantisbt_2/default.nix +++ b/pkgs/webapps/mantisbt_2/default.nix | |||
@@ -10,8 +10,10 @@ let | |||
10 | "ln -sf ${value} $out/plugins/${value.pluginName}" | 10 | "ln -sf ${value} $out/plugins/${value.pluginName}" |
11 | ) plugins | 11 | ) plugins |
12 | )); | 12 | )); |
13 | passthru.plugins = plugins; | 13 | passthru = old.passthru // { |
14 | passthru.withPlugins = morePlugins: old.withPlugins (morePlugins ++ plugins); | 14 | inherit plugins; |
15 | withPlugins = morePlugins: old.withPlugins (morePlugins ++ plugins); | ||
16 | }; | ||
15 | }); | 17 | }); |
16 | package = stdenv.mkDerivation rec { | 18 | package = stdenv.mkDerivation rec { |
17 | name = "mantisbt-${version}"; | 19 | name = "mantisbt-${version}"; |