You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"!include" is a non-standard extension of YAML and isn't supported by "remarshal" so the readYAML function will fail.
Usually you will have the included YAML files at the top-level or in a different sub-directory to the package.yaml file and we currently don't have a way to provide this
I have a potential solution and I will create an MR soon.
The text was updated successfully, but these errors were encountered:
TeofilC
added a commit
to TeofilC/stacklock2nix
that referenced
this issue
Apr 18, 2024
Add a `generateCabalFile` argument that allows us to pre-genereate the
cabal file, thus allowing us to create an environment where hpack can
successfully find included files.
We also just read the package.yaml file directly to get the name rather
than by calling readYAML, since include directives lead to unparseable
YAML.
Resolvescdepillabout#47
Add a `generateCabalFile` argument that allows us to pre-genereate the
cabal file, thus allowing us to create an environment where hpack can
successfully find included files.
We also just read the package.yaml file directly to get the name rather
than by calling readYAML, since include directives lead to unparseable
YAML.
Resolvescdepillabout#47
Hpack supports "!include" directives to inline the source of other yaml files. See: https://github.com/sol/hpack?tab=readme-ov-file#not-repeating-yourself
This raises two issues:
readYAML
function will fail.package.yaml
file and we currently don't have a way to provide thisI have a potential solution and I will create an MR soon.
The text was updated successfully, but these errors were encountered: