-
Notifications
You must be signed in to change notification settings - Fork 131
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Locating a package in a subdirectory #758
Comments
@blinky3713 could you post the layout of your repo and the content of your |
Sure, sorry about that. This is the monorepo containing two packages, purescript-web3 and purescript-web3-generator: where Here is the relevant Here is the Here is what is pulled into Which is what I meant by the nesting. |
@f-f Just checking in, any thoughts about this? |
@blinky3713 sorry, I'm travelling until next week and I didn't manage to have a look at this yet, will do ASAP |
@wclr I'm not sure I can really describe the problem much better than what's in the comment above starting with
And the error message is that the modules from the The most succinct way I can put it for haskell/stack users is what I said above:
|
I finally had some time to look at this - indeed subdirectories are not supported right now. |
Thanks for getting back to me! I will try to catch myself up to speed on those issues to see what remains. As a general note it's been extremely pleasant to update all of our repos to spago, very much appreciating all of your hard work! |
@blinky3713 thank you! ❤️ I think there are no more actionable points in this issue, so I'll close this 🙂 |
Is there any way to refer to a subdirectory in a
packages.dhall
entry? My situation is that I want monorepo two packagesA
andB
that often move together butB
depends onA
, and depend on both from another repositoryC
.A
andB
are both referenced asLocal
in the monorepo as per the instructions in the README, and that part works fine. However as they are nested in the monorepo, they are nested in.spago
directory in projectC
and it seems like they can't be found. Ironically at some point before I blew everything inC
away and rebuilt, i was getting a duplicate module error as I mentioned hereBasically I am looking for something like the
subdirs
option for astack.yaml
declaration. hereAnyway, let me know if there is some way to do this, or if this shouldn't be allowed because of the design philosophy. Thanks!
The text was updated successfully, but these errors were encountered: