diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 4ea57f1748728..97ecd649d2b5b 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -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