In your .cabal file, yes, but the cabal.project file can reference
external packages. It has a slightly different syntax, though.
I don't think it's supported with cabal-install 2.0.0.1. You may have to
use HEAD instead of 2.4.0.0, I don't know.
Post by Brandon AllberyIt doesn't. The source repo is for hackage documentation, not package
retrieval.
On Sun, Nov 18, 2018 at 9:57 AM Ivan Perez
If you can do this, this is news to me.
https://www.haskell.org/cabal/users-guide/developing-packages.html
From what I understand, you cannot use this to point to repos for
dependencies, only to indicate the repo for the package you are defining.
You'd have to publish pack1 somewhere (on hackage or in your own
hackage server), or use a different tool to declare the
dependency. I don't know if cabal's new-build system addresses
this at all.
Ivan
Hello,
I'm trying to reference an external source of a package within
source-repository head
  type: git
  location: <git URL of pack1>
executable myExe
  build-depends: base==4.10.1.0, pack1 -any
pack1 -any
Any hint ?
--
Fabien
_______________________________________________
Haskell-Cafe mailing list
http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
Only members subscribed via the mailman list are allowed to post.
_______________________________________________
Haskell-Cafe mailing list
http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
Only members subscribed via the mailman list are allowed to post.
--
brandon s allbery kf8nh
_______________________________________________
Haskell-Cafe mailing list
http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
Only members subscribed via the mailman list are allowed to post.