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/dokuwiki/default.nix | |
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/dokuwiki/default.nix')
-rw-r--r-- | pkgs/webapps/dokuwiki/default.nix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/webapps/dokuwiki/default.nix b/pkgs/webapps/dokuwiki/default.nix index 7b5d899..9df88c6 100644 --- a/pkgs/webapps/dokuwiki/default.nix +++ b/pkgs/webapps/dokuwiki/default.nix | |||
@@ -16,8 +16,10 @@ let | |||
16 | installPreloadPhase = '' | 16 | installPreloadPhase = '' |
17 | cp ${preloadFile plugins} $out/inc/preload.php | 17 | cp ${preloadFile plugins} $out/inc/preload.php |
18 | ''; | 18 | ''; |
19 | passthru.plugins = plugins; | 19 | passthru = old.passthru // { |
20 | passthru.withPlugins = morePlugins: old.withPlugins (morePlugins ++ plugins); | 20 | inherit plugins; |
21 | withPlugins = morePlugins: old.withPlugins (morePlugins ++ plugins); | ||
22 | }; | ||
21 | }); | 23 | }); |
22 | package = stdenv.mkDerivation (mylibs.fetchedGithub ./dokuwiki.json // rec { | 24 | package = stdenv.mkDerivation (mylibs.fetchedGithub ./dokuwiki.json // rec { |
23 | phases = "unpackPhase buildPhase installPhase installPreloadPhase fixupPhase"; | 25 | phases = "unpackPhase buildPhase installPhase installPreloadPhase fixupPhase"; |