Skip to content

Commit

Permalink
seqtk: fix cross compilation, drop custom installPhase
Browse files Browse the repository at this point in the history
  • Loading branch information
NickCao committed Apr 29, 2024
1 parent 5467a90 commit cd5f33f
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions pkgs/applications/science/biology/seqtk/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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; {
Expand Down

0 comments on commit cd5f33f

Please sign in to comment.