freecad: enable ifc unconditionally (#422675)

This commit is contained in:
Gaétan Lepage 2025-07-06 13:31:21 +02:00 committed by GitHub
commit e8991bb9fc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 17 additions and 24 deletions

View File

@ -23,7 +23,6 @@
pkg-config,
python3Packages,
spaceNavSupport ? stdenv.hostPlatform.isLinux,
ifcSupport ? false,
stdenv,
swig,
vtk,
@ -35,27 +34,23 @@
nix-update-script,
}:
let
pythonDeps =
with python3Packages;
[
boost
gitpython # for addon manager
matplotlib
opencamlib
pivy
ply # for openSCAD file support
py-slvs
pybind11
pycollada
pyside6
python
pyyaml # (at least for) PyrateWorkbench
scipy
shiboken6
]
++ lib.optionals ifcSupport [
ifcopenshell
];
pythonDeps = with python3Packages; [
boost
gitpython # for addon manager
ifcopenshell
matplotlib
opencamlib
pivy
ply # for openSCAD file support
py-slvs
pybind11
pycollada
pyside6
python
pyyaml # (at least for) PyrateWorkbench
scipy
shiboken6
];
freecad-utils = callPackage ./freecad-utils.nix { };
in

View File

@ -1,9 +1,7 @@
{
callPackage,
freecad,
}:
{
python-path = callPackage ./python-path.nix { };
modules = callPackage ./modules.nix { };
withIfcSupport = freecad.override { ifcSupport = true; };
}