Unverified Commit dbac71af authored by David Wolff's avatar David Wolff
Browse files

lldap: call runHook in buildPhase and installPhase

parent 958326b9
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -76,15 +76,23 @@ let
      ];

      buildPhase = ''
        runHook preBuild

        HOME=`pwd` ./app/build.sh

        runHook postBuild
      '';

      installPhase = ''
        runHook preInstall

        mkdir -p $out
        cp -R app/{pkg,static} $out/
        cp app/index_local.html $out/index.html
        cp -R ${staticAssets finalAttrs.src}/* $out/static
        rm $out/static/libraries.txt $out/static/fonts/fonts.txt

        runHook postInstall
      '';

      doCheck = false;