Unverified Commit 83bdb045 authored by Nick Cao's avatar Nick Cao Committed by GitHub
Browse files

Merge pull request #307843 from NickCao/seqtk

seqtk: fix cross compilation, drop custom installPhase
parents ac8c7f24 cd5f33f2
Loading
Loading
Loading
Loading
+6 −7
Original line number Diff line number Diff line
@@ -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; {