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/mediagoblin | |
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/mediagoblin')
-rw-r--r-- | pkgs/webapps/mediagoblin/default.nix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/webapps/mediagoblin/default.nix b/pkgs/webapps/mediagoblin/default.nix index e1ca898..643daed 100644 --- a/pkgs/webapps/mediagoblin/default.nix +++ b/pkgs/webapps/mediagoblin/default.nix | |||
@@ -108,8 +108,10 @@ let | |||
108 | map (value: "ln -s ${value} mediagoblin/plugins/${value.pluginName}") plugins | 108 | map (value: "ln -s ${value} mediagoblin/plugins/${value.pluginName}") plugins |
109 | ) | 109 | ) |
110 | ); | 110 | ); |
111 | passthru.plugins = plugins; | 111 | passthru = old.passthru // { |
112 | passthru.withPlugins = morePlugins: old.withPlugins (morePlugins ++ plugins); | 112 | inherit plugins; |
113 | withPlugins = morePlugins: old.withPlugins (morePlugins ++ plugins); | ||
114 | }; | ||
113 | }); | 115 | }); |
114 | package = stdenv.mkDerivation (mylibs.fetchedGit ./mediagoblin.json // rec { | 116 | package = stdenv.mkDerivation (mylibs.fetchedGit ./mediagoblin.json // rec { |
115 | preConfigure = '' | 117 | preConfigure = '' |