Skip to content

Commit

Permalink
Fix opencascade-hs
Browse files Browse the repository at this point in the history
As of [this PR](NixOS/cabal2nix#630)
opencascade-hs does not require the dependency on opencascade-occt to be manually specified.

It does however still require the include path to be defined.
  • Loading branch information
joe-warren committed Nov 29, 2024
1 parent fd23664 commit bccd8ea
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkgs/development/haskell-modules/configuration-common.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3050,4 +3050,8 @@ self: super: {
})
] super.hailgun;

# opencascade-hs requires the include path configuring relative to opencascade-occt
opencascade-hs = let occt = pkgs.opencascade-occt;
in appendConfigureFlag "--extra-include-dirs=${occt}/include/opencascade" super.opencascade-hs;

} // import ./configuration-tensorflow.nix {inherit pkgs haskellLib;} self super

0 comments on commit bccd8ea

Please sign in to comment.