Open ByronBecker opened 1 year ago
I spent a lot of time looking into this today, and it seems like a rather deep limitation of the current dhall-rust
implementation.
For now, it's possible to get around this with the following hack:
package-set.dhall
to something like package-set-initial.dhall
package-set.dhall
to your .gitignore
using
syntax or DHALL_HEADERS
environment variabledhall resolve --file package-set-initial.dhall > package-set.dhall && vessel install
We are planning to move away from Dhall in favor of Motoko (via motoko.rs) as the preferred configuration language for Vessel, so I'll make sure that custom headers will be easy to use in package-set.mo
files.
We are planning to move away from Dhall in favor of Motoko (via motoko.rs) as the preferred configuration language for Vessel
Wooooo 🎉
Looking forward to seeing this. And thanks for the intermediate workaround.
Vessel currently does not support imports from private libraries. This is due to a limitation of the headers passed by the rust_dhall crate https://github.com/Nadrieril/dhall-rust/issues/134.