bwa: add runHook

This commit is contained in:
natsukium 2023-05-13 17:57:16 +09:00
parent c85dced23e
commit 04dd7f41e7
No known key found for this signature in database
GPG key ID: 9EA45A31DB994C53

View file

@ -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; {