tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
gmt: adjust for new Darwin SDK pattern
Emily
9 months ago
259dc71e
35937cd7
+2
-3
1 changed file
expand all
collapse all
unified
split
pkgs
by-name
gm
gmt
package.nix
+2
-3
pkgs/by-name/gm/gmt/package.nix
···
4
fetchFromGitHub,
5
cmake,
6
curl,
7
-
darwin,
8
fftwSinglePrec,
9
netcdf,
10
pcre,
···
34
NIX_CFLAGS_COMPILE =
35
lib.optionalString stdenv.cc.isClang "-Wno-implicit-function-declaration "
36
+ lib.optionalString (
37
-
stdenv.hostPlatform.isDarwin
38
-
&& lib.versionOlder (darwin.apple_sdk.MacOSX-SDK.version or darwin.apple_sdk.sdk.version) "13.3"
39
) "-D__LAPACK_int=int";
40
};
41
···
4
fetchFromGitHub,
5
cmake,
6
curl,
7
+
apple-sdk,
8
fftwSinglePrec,
9
netcdf,
10
pcre,
···
34
NIX_CFLAGS_COMPILE =
35
lib.optionalString stdenv.cc.isClang "-Wno-implicit-function-declaration "
36
+ lib.optionalString (
37
+
stdenv.hostPlatform.isDarwin && lib.versionOlder apple-sdk.version "13.3"
0
38
) "-D__LAPACK_int=int";
39
};
40