add darwin aarm64 check to lib overrides
This commit is contained in:
parent
c7b793ffb7
commit
59275df11a
2 changed files with 2 additions and 1 deletions
|
@ -17,6 +17,7 @@ let
|
|||
systemMap = {
|
||||
x86_64-linux = "linux-64";
|
||||
x86_64-darwin = "osx-64";
|
||||
aarch64-darwin = "osx-arm64";
|
||||
aarch64-linux = "linux-aarch64";
|
||||
};
|
||||
|
||||
|
|
|
@ -179,7 +179,7 @@ rec {
|
|||
file = "${compileExpression args}/share/mach_nix_file.nix";
|
||||
result = import file { inherit (args) pkgs python; };
|
||||
manylinux =
|
||||
if args.pkgs.stdenv.hostPlatform.system == "x86_64-darwin" then
|
||||
if builtins.elem args.pkgs.stdenv.hostPlatform.system [ "x86_64-darwin" "aarch64-darwin" ] then
|
||||
[]
|
||||
else
|
||||
args.pkgs.pythonManylinuxPackages.manylinux1;
|
||||
|
|
Loading…
Reference in a new issue