tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
0
fork
atom
overview
issues
pulls
pipelines
EBTKS: fix build on aarch64-darwin
Weijia Wang
3 years ago
c777fbab
bb5a69de
+6
1 changed file
expand all
collapse all
unified
split
pkgs
development
libraries
science
biology
EBTKS
default.nix
+6
pkgs/development/libraries/science/biology/EBTKS/default.nix
···
11
11
sha256 = "1a1qw6i47fs1izx60l1ysabpmyx9j5sjnbdv8b47wi2xcc9i3hpq";
12
12
};
13
13
14
14
+
# error: use of undeclared identifier 'finite'; did you mean 'isfinite'?
15
15
+
postPatch = ''
16
16
+
substituteInPlace templates/EBTKS/SimpleArray.h \
17
17
+
--replace "#define FINITE(x) finite(x)" "#define FINITE(x) isfinite(x)"
18
18
+
'';
19
19
+
14
20
nativeBuildInputs = [ cmake ];
15
21
buildInputs = [ libminc ];
16
22