tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
coordgenlibs: fix build with LLVM 21
Emily
4 months ago
bedad1ed
293b5d5a
+12
1 changed file
expand all
collapse all
unified
split
pkgs
by-name
co
coordgenlibs
package.nix
+12
pkgs/by-name/co/coordgenlibs/package.nix
···
1
1
{
2
2
fetchFromGitHub,
3
3
+
fetchpatch,
3
4
lib,
4
5
stdenv,
5
6
boost,
···
19
20
hash = "sha256-casFPNbPv9mkKpzfBENW7INClypuCO1L7clLGBXvSvI=";
20
21
};
21
22
23
23
+
patches = [
24
24
+
(fetchpatch {
25
25
+
name = "coordgenlibs-fix-unused-but-set-variable.patch";
26
26
+
url = "https://github.com/schrodinger/coordgenlibs/commit/6a1485643feb71c6d609d263f28751004c733cf7.patch";
27
27
+
hash = "sha256-x34v+XumVip43LYb4bEkdqPFcTRTeC/zsRuQjnrh2zw=";
28
28
+
})
29
29
+
];
30
30
+
22
31
nativeBuildInputs = [ cmake ];
23
32
buildInputs = [
24
33
boost
···
37
46
'';
38
47
39
48
doCheck = true;
49
49
+
50
50
+
# Fix the build with Clang 20.
51
51
+
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang "-Wno-error=deprecated-literal-operator";
40
52
41
53
meta = with lib; {
42
54
description = "Schrodinger-developed 2D Coordinate Generation";