From 04dd7f41e720c10c48ba65f60a3063740fe081c8 Mon Sep 17 00:00:00 2001 From: natsukium Date: Sat, 13 May 2023 17:57:16 +0900 Subject: [PATCH] bwa: add runHook --- pkgs/applications/science/biology/bwa/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/applications/science/biology/bwa/default.nix b/pkgs/applications/science/biology/bwa/default.nix index 36bf2288c540..4786f25beb50 100644 --- a/pkgs/applications/science/biology/bwa/default.nix +++ b/pkgs/applications/science/biology/bwa/default.nix @@ -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; {