File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 38
38
] ;
39
39
} ;
40
40
41
+ inherit ( pkgs ) lib stdenv ;
42
+
41
43
mkEnv' =
42
44
{
43
45
# Python dependency specification
48
50
,
49
51
} : python :
50
52
let
53
+ inherit ( stdenv ) targetPlatform ;
51
54
# Construct package set
52
55
pythonSet =
53
56
# Use base package set from pyproject.nix builders
54
57
( pkgs . callPackage pyproject-nix . build . packages {
55
58
inherit python ;
56
- stdenv = pkgs . stdenv . override {
57
- targetPlatform = pkgs . stdenv . targetPlatform // {
58
- darwinSdkVersion = "12.0" ;
59
+ stdenv = stdenv . override {
60
+ targetPlatform = targetPlatform // {
61
+ darwinSdkVersion = if targetPlatform . isAarch64 then "14.0" else "12.0" ;
59
62
} ;
60
63
} ;
61
64
} ) . overrideScope
86
89
deps = workspace . deps . all ;
87
90
editable = true ;
88
91
} ;
89
-
90
- inherit ( pkgs ) lib stdenv ;
91
92
in
92
93
{
93
94
ibisTestingData = pkgs . fetchFromGitHub {
You can’t perform that action at this time.
0 commit comments