-
Notifications
You must be signed in to change notification settings - Fork 132
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Import local packages
as Location
(#301)
This changes how local packages are specified in the `packages.dhall` This is a breaking change, because the old local syntax will now error out Taking the README example, we go from this: ``` let additions = { foobar = mkPackage (../foobar/spago.dhall).dependencies "../foobar" "local-fix-whatever" } ``` to this: ``` let additions = { foobar = ../foobar/spago.dhall as Location } ``` This means a couple of things: - the issue from #244 is fixed because Dhall will adjust the relative path properly - but since it won't resolve the file, it's now possible to have _a single shared_ `packages.dhall`, that will contain e.g. all the packages in your repo (this wasn't possible before as you'd have circular imports in your Dhall file)
- Loading branch information
Showing
21 changed files
with
489 additions
and
325 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.