I maintain a Haskell package called opencascade-hs, this is an ffi wrapper for the C++ library opencascade. It’s a “CAD kernel”, a library that can be used to design solid objects.
Opencascade is packaged for Nix, under opencascade-occt.
However, the Nix haskellPackages
export of opencascade-hs does not pick up on this dependency, so it’s currently marked as broken.
I’ve made an example project building a program that uses opencascade-hs, under Nix, using package overrides here.
I’d like to add the dependency to the version of opencascade-hs
that appears in Nix under haskellPackages
, so that people can “just use it” but it’s not clear to me how I would go about doing this?
(As a heads up, I’m completely new to using Nix, so it’s possible I’m doing something stupid here)