Unverified Commit 04dd7f41 authored by natsukium's avatar natsukium
Browse files

bwa: add runHook

parent c85dced2
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -24,12 +24,16 @@ stdenv.mkDerivation {
  # it's unclear which headers are intended to be part of the public interface
  # so we may find ourselves having to add more here over time
  installPhase = ''
    runHook preInstall

    install -vD -t $out/bin bwa
    install -vD -t $out/lib libbwa.a
    install -vD -t $out/include bntseq.h
    install -vD -t $out/include bwa.h
    install -vD -t $out/include bwamem.h
    install -vD -t $out/include bwt.h

    runHook postInstall
  '';

  meta = with lib; {