How to use this pattern for project with libraries, but without executables? #369
Unanswered
ArtemChandragupta
asked this question in
Q&A
Replies: 1 comment
-
Well, you can run What are you doing here is right: haskellProjects.default = {
packages = {
opencascade-hs.source = inputs.opencascade-hs-fork + /opencascade-hs;
};
}; I'd guess that perhaps your devShell is stale. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi. There is a project waterfall-cad, it consists of two libraries - main library waterfall-cad (adds functional language in Haskell for 3d modelling) and it's dependency - opencascade-hs (adds Haskell bindings to opencascade-hs). The last is broken in nixpkgs, so my friend created a fork fixing the issue.
I tried to build it using a pattern described here, using "hello world" placeholder executable which "depends" on opencascade-hs and waterfall-cad:
flake.nix:
example.cabal:
src/Main.hs:
It builds up, but have two problems:
Beta Was this translation helpful? Give feedback.
All reactions