Skip to content

Commit

Permalink
haskellPackages.opencascade-hs: provide non standard include dirs
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.

Co-authored-by: sternenseemann <[email protected]>
  • Loading branch information
joe-warren and sternenseemann committed Dec 27, 2024
1 parent 581f185 commit 7016a8c
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
6 changes: 6 additions & 0 deletions pkgs/development/haskell-modules/configuration-common.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3057,4 +3057,10 @@ self: super: {
})
] super.hailgun;

# opencascade-hs requires the include path configuring relative to the
# opencascade subdirectory in include.
opencascade-hs = appendConfigureFlags [
"--extra-include-dirs=${lib.getDev pkgs.opencascade-occt}/include/opencascade"
] super.opencascade-hs;

} // import ./configuration-tensorflow.nix {inherit pkgs haskellLib;} self super
Original file line number Diff line number Diff line change
Expand Up @@ -4272,7 +4272,6 @@ broken-packages:
- openapi3-code-generator # failure in job https://hydra.nixos.org/build/233255628 at 2023-09-02
- openapi-petstore # failure in job https://hydra.nixos.org/build/233221722 at 2023-09-02
- openapi-typed # failure in job https://hydra.nixos.org/build/233226830 at 2023-09-02
- opencascade-hs # failure in job https://hydra.nixos.org/build/243821447 at 2024-01-01
- opencc # failure in job https://hydra.nixos.org/build/233211902 at 2023-09-02
- opench-meteo # failure in job https://hydra.nixos.org/build/233212476 at 2023-09-02
- OpenCL # failure in job https://hydra.nixos.org/build/233216571 at 2023-09-02
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4138,8 +4138,6 @@ dont-distribute-packages:
- warp-grpc
- warp-quic
- warped
- waterfall-cad
- waterfall-cad-examples
- wavesurfer
- wavy
- weatherhs
Expand Down
4 changes: 0 additions & 4 deletions pkgs/development/haskell-modules/hackage-packages.nix

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7016a8c

Please sign in to comment.