Closed quasicomputational closed 6 years ago
I slept on it and decided that parameterising cabalToDhall
made the most sense, so that's what version 2 of this PR does.
Huh. Dunno what's up with the tests failing on hydra; it works for me locally, though I'm not running them with nix.
Problem was on my end; I was building against dhall's HEAD while I chased down that performance issue.
Yep, this works great. Thanks!
This will grab the current version number from Paths_dhall_to_cabal and then generate the URL to import from from that.
As a knock-on change, to prevent the tests breaking every time the version is bumped, we now omit the imports altogether from cabal-to-dhall's tests.