seqtk: fix cross compilation, drop custom installPhase
This commit is contained in:
parent
5467a90a5d
commit
cd5f33f23d
@ -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; {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user