Merge pull request #307843 from NickCao/seqtk

seqtk: fix cross compilation, drop custom installPhase
This commit is contained in:
Nick Cao 2024-04-30 09:30:10 -04:00 committed by GitHub
commit 83bdb045f6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -19,14 +19,13 @@ stdenv.mkDerivation rec {
buildInputs = [ zlib libdeflate isa-l ];
makeFlags = [ "CC=cc" ];
makeFlags = [
"CC:=$(CC)"
"BINDIR=$(out)/bin"
];
installPhase = ''
runHook preInstall
install -Dm755 -t $out/bin seqtk
runHook postInstall
preInstall = ''
mkdir -p "$out/bin"
'';
meta = with lib; {