Unverified Commit cd5f33f2 authored by Nick Cao's avatar Nick Cao
Browse files

seqtk: fix cross compilation, drop custom installPhase

parent 5467a90a
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; {