Skip to content

Commit

Permalink
Static bwa
Browse files Browse the repository at this point in the history
AR needs to be passed specifically on the command line
  • Loading branch information
luispedro committed May 4, 2022
1 parent 4758873 commit 596c5e7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkgs/applications/science/biology/bwa/default.nix
Expand Up @@ -17,6 +17,8 @@ stdenv.mkDerivation rec {
sed -i '/^CC/d' Makefile
'';

makeFlags = lib.optional stdenv.hostPlatform.isStatic "AR=${stdenv.cc.targetPrefix}ar";

# it's unclear which headers are intended to be part of the public interface
# so we may find ourselves having to add more here over time
installPhase = ''
Expand Down

0 comments on commit 596c5e7

Please sign in to comment.