mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 07:46:09 +01:00
minimap2: enable aarch64 builds (#161169)
Co-authored-by: Bobby Rong <rjl931189261@126.com> Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
parent
b236e970ef
commit
e85b65f986
1 changed files with 2 additions and 1 deletions
|
@ -13,6 +13,8 @@ stdenv.mkDerivation rec {
|
|||
|
||||
buildInputs = [ zlib ];
|
||||
|
||||
makeFlags = lib.optionals stdenv.isAarch64 [ "arm_neon=1" "aarch64=1" ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
cp minimap2 $out/bin
|
||||
|
@ -25,7 +27,6 @@ stdenv.mkDerivation rec {
|
|||
homepage = "https://lh3.github.io/minimap2";
|
||||
license = licenses.mit;
|
||||
platforms = platforms.all;
|
||||
badPlatforms = platforms.aarch64;
|
||||
maintainers = [ maintainers.arcadio ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue