Welcome to the Functional Programming Zulip Chat Archive. You can join the chat here.
can i depend on a haskell library directly via a tarball/git repository? without any hackage/stackage involvement
I do that all that time. With nix :-D
I believe you can do this in stack.yaml too
neat. do you know if that works with haskell.nix as well?
I'm not too familiar with haskell.nix; but it being such a fundamental feature (even stack supports it) it has to be possible.
ok, having read a little bit more about this, the Nix approach is useful, and I might try that out at some point, but right now what I want is a Nix-independent way to do this using only Cabal. Does Cabal directly support this feature?
what I want is for someone to be able to download my Git repository which depends on a package stored in yet another Git repository, and be able to build it from source with Cabal without even having Nix installed on their system.
Take a look at this file
See the stack file for the stack equivalent.