dhall-lang / dhall-haskell

Maintainable configuration files
https://dhall-lang.org/
BSD 3-Clause "New" or "Revised" License
908 stars 211 forks source link

Fix `dhall freeze --cache --all` to be idempotent #2500

Closed Gabriella439 closed 1 year ago

Gabriella439 commented 1 year ago

The fix in https://github.com/dhall-lang/dhall-haskell/pull/2350 introduced a new problem: now dhall freeze --cache --all is not idempotent and will fail if you run it a second time on the same due to trying to resolve the missing import. This change fixes that.