summary refs log tree commit diff
diff options
context:
space:
mode:
authorworldofpeace <worldofpeace@protonmail.ch>2019-12-10 19:54:04 -0500
committerGitHub <noreply@github.com>2019-12-10 19:54:04 -0500
commit95c56832578311731fa1bb27e64b55f65d276a72 (patch)
tree8ee8195f162283eb54eccf35935c5799cce568c2
parent46703a446deecf190ff7afb45f1d6a69dd5c8460 (diff)
parent9e710b29fd9712feae3b14d9109cab0fbb1ab537 (diff)
downloadnixpkgs-95c56832578311731fa1bb27e64b55f65d276a72.tar
nixpkgs-95c56832578311731fa1bb27e64b55f65d276a72.tar.gz
nixpkgs-95c56832578311731fa1bb27e64b55f65d276a72.tar.bz2
nixpkgs-95c56832578311731fa1bb27e64b55f65d276a72.tar.lz
nixpkgs-95c56832578311731fa1bb27e64b55f65d276a72.tar.xz
nixpkgs-95c56832578311731fa1bb27e64b55f65d276a72.tar.zst
nixpkgs-95c56832578311731fa1bb27e64b55f65d276a72.zip
Merge pull request #75440 from helsinki-systems/riot-hooks
riot-web: Run install hooks
-rw-r--r--pkgs/applications/networking/instant-messengers/riot/riot-web.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/applications/networking/instant-messengers/riot/riot-web.nix b/pkgs/applications/networking/instant-messengers/riot/riot-web.nix
index 93c3d837b05..b2e50ffce64 100644
--- a/pkgs/applications/networking/instant-messengers/riot/riot-web.nix
+++ b/pkgs/applications/networking/instant-messengers/riot/riot-web.nix
@@ -17,9 +17,13 @@ stdenv.mkDerivation rec {
       then writeText "riot-config.json" conf
       else "$out/config.sample.json";
   in ''
+    runHook preInstall
+
     mkdir -p $out/
     cp -R . $out/
     ln -s ${configFile} $out/config.json
+
+    runHook postInstall
   '';
 
   meta = {