Unverified Commit f772e382 authored by Grimmauld's avatar Grimmauld
Browse files

freecad: enable ifc unconditionally

closes #370121

follow-up to #330190

The BIM workspace depends on ifc, there is little reason
why it should be conditional to a flag that causes a
from-source rebuild. It should just be always enabled.
parent cb4ff67e
Loading
Loading
Loading
Loading
+17 −22
Original line number Diff line number Diff line
@@ -23,7 +23,6 @@
  pkg-config,
  python3Packages,
  spaceNavSupport ? stdenv.hostPlatform.isLinux,
  ifcSupport ? false,
  stdenv,
  swig,
  vtk,
@@ -35,11 +34,10 @@
  nix-update-script,
}:
let
  pythonDeps =
    with python3Packages;
    [
  pythonDeps = with python3Packages; [
    boost
    gitpython # for addon manager
    ifcopenshell
    matplotlib
    opencamlib
    pivy
@@ -52,9 +50,6 @@ let
    pyyaml # (at least for) PyrateWorkbench
    scipy
    shiboken6
    ]
    ++ lib.optionals ifcSupport [
      ifcopenshell
  ];

  freecad-utils = callPackage ./freecad-utils.nix { };
+0 −2
Original line number Diff line number Diff line
{
  callPackage,
  freecad,
}:
{
  python-path = callPackage ./python-path.nix { };
  modules = callPackage ./modules.nix { };
  withIfcSupport = freecad.override { ifcSupport = true; };
}