Skip to content

Commit

Permalink
Revert changes from cabal
Browse files Browse the repository at this point in the history
  • Loading branch information
jneira committed Nov 4, 2019
1 parent 3b82c9f commit 7b712f4
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion dhall-to-etlas.dhall
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ let deps =
, bytestring = pkgVer "bytestring" "0.10" "0.11"
, containers = pkgVer "containers" "0.5" "0.6"
, directory = pkgVer "directory" "1.2.7.1" "1.4"
, dhall = pkgVer "dhall" "1.25.0" "1.26"
, dhall = pkgVer "dhall" "1.26.0" "1.27"
, dhall-to-etlas = pkg "dhall-to-etlas" anyVersion
, filepath = pkgVer "filepath" "1.4" "1.5"
, microlens = pkgVer "microlens" "0.1.0.0" "0.5"
Expand Down
12 changes: 6 additions & 6 deletions dhall/types.dhall
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@
./types/Language.dhall
, Library =
./types/Library.dhall
, LibraryName =
./types/LibraryName.dhall
, LibraryVisibility =
./types/LibraryVisibility.dhall
-- , LibraryName =
-- ./types/LibraryName.dhall
-- , LibraryVisibility =
-- ./types/LibraryVisibility.dhall
, License =
./types/License.dhall
, LicenseExceptionId =
Expand All @@ -54,8 +54,8 @@
./types/OS.dhall
, Package =
./types/Package.dhall
, PkgconfigVersionRange =
./types/PkgconfigVersionRange.dhall
-- , PkgconfigVersionRange =
-- ./types/PkgconfigVersionRange.dhall
, RepoKind =
./types/RepoKind.dhall
, RepoType =
Expand Down
4 changes: 2 additions & 2 deletions dhall/utils/mapBuildInfo.dhall
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
let types = ../types.dhall

let mapOptional = https://github.com/dhall-lang/dhall-lang/raw/v10.0.0/Optional/map
let mapOptional = https://raw.githubusercontent.com/dhall-lang/dhall-lang/v10.0.0/Prelude/Optional/map

let mapList = https://github.com/dhall-lang/dhall-lang/raw/v10.0.0/List/map
let mapList = https://raw.githubusercontent.com/dhall-lang/dhall-lang/v10.0.0/Prelude/List/map

let mapGuarded =
λ(a : Type)
Expand Down
14 changes: 7 additions & 7 deletions lib/DhallToCabal/FactorType.hs
Original file line number Diff line number Diff line change
Expand Up @@ -56,19 +56,19 @@ data KnownType
| Dependency
| VersionRange
| Version
| PkgconfigVersionRange
| SPDX
| LicenseId
| LicenseExceptionId
| Scope
-- | PkgconfigVersionRange
-- | SPDX
-- | LicenseId
-- | LicenseExceptionId
-- | Scope
| Mixin
| ModuleRenaming
| ForeignLibOption
| ForeignLibType
| TestType
| Flag
| LibraryName
| LibraryVisibility
-- | LibraryName
-- | LibraryVisibility
deriving (Bounded, Enum, Eq, Ord, Read, Show)


Expand Down
6 changes: 3 additions & 3 deletions meta/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,9 @@ typeFile = \case
TestType -> "types/TestType.dhall"
Mixin -> "types/Mixin.dhall"
Flag -> "types/Flag.dhall"
PkgconfigVersionRange -> "types/PkgconfigVersionRange.dhall"
LibraryName -> "types/LibraryName.dhall"
LibraryVisibility -> "types/LibraryVisibility.dhall"
-- PkgconfigVersionRange -> "types/PkgconfigVersionRange.dhall"
-- LibraryName -> "types/LibraryName.dhall"
-- LibraryVisibility -> "types/LibraryVisibility.dhall"


importFile :: FilePath -> Dhall.Core.Import
Expand Down

0 comments on commit 7b712f4

Please sign in to comment.