Hi,
we need to add authentication to our import resolution. First we tried the approach where we define the
header directly into the dhall and refer to the credentials via environment variables. But that does not work for nested import.
So we planned to use the DHALL_HEADERS feature as described here
Using dhall 1.41.2 on windows:
set DHALL_HEADERS=[ { mapKey = "Authorization" , mapValue = "Bearer somemagictoken" } ]
then the dhall itself
let d = https://fubar.de/dhall/Dev.dhall using headers
in d
and calling dhall --file on it results in the following error msg:
Unbound variable: headers
What are we missing here?
Thanks in advance Christian