mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-25 17:55:21 +00:00
coin3d: unvendor expat
closes #544607 Using the ancient vendored `expat` 2.2.10 from 2020-10-03 is a security nightmare. It also recently started exploding due to symbol collisions with the significantly newer expat used in python3, crashing FreeCAD. Co-authored-by: Patrick Lawrence <patrick.lawrence@gmail.com>
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
libGL,
|
||||
libGLU,
|
||||
libx11,
|
||||
expat,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
@@ -26,9 +27,14 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
boost
|
||||
libGL
|
||||
libGLU
|
||||
expat
|
||||
]
|
||||
++ lib.optional stdenv.hostPlatform.isLinux libx11;
|
||||
|
||||
cmakeFlags = [
|
||||
(lib.cmakeBool "USE_EXTERNAL_EXPAT" true)
|
||||
];
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/coin3d/coin";
|
||||
description = "High-level, retained-mode toolkit for effective 3D graphics development";
|
||||
|
||||
Reference in New Issue
Block a user