dhall-nix 1.0.8 → 1.0.9
raw patch · 2 files changed
+12/−7 lines, 2 filesdep +text-formatdep ~basedep ~dhalldep ~hnixPVP ok
version bump matches the API change (PVP)
Dependencies added: text-format
Dependency ranges changed: base, dhall, hnix, text
API changes (from Hackage documentation)
Files
- dhall-nix.cabal +7/−6
- src/Dhall/Nix.hs +5/−1
dhall-nix.cabal view
@@ -1,5 +1,5 @@ Name: dhall-nix-Version: 1.0.8+Version: 1.0.9 Cabal-Version: >=1.8.0.2 Build-Type: Simple Tested-With: GHC == 8.0.1@@ -30,10 +30,11 @@ base >= 4.8.0.0 && < 5 , containers < 0.6 , data-fix < 0.3 ,- dhall >= 1.5.0 && < 1.8 ,+ dhall >= 1.5.0 && < 1.9 , hnix >= 0.3.4 && < 0.4 , neat-interpolation < 0.4 , text >= 0.8.0.0 && < 1.3 ,+ text-format < 0.4 , vector >= 0.3 && < 0.13 Exposed-Modules: Dhall.Nix@@ -43,11 +44,11 @@ Hs-Source-Dirs: exec Main-Is: Main.hs Build-Depends:- base >= 4 && < 5 ,- dhall >= 1.5.0 && < 1.8,+ base ,+ dhall , dhall-nix ,- hnix >= 0.3.4 && < 0.4,+ hnix , optparse-generic >= 1.1.1 && < 1.3,- text >= 0.8.0.0 && < 1.3,+ text , trifecta >= 1.0 && < 1.8 GHC-Options: -Wall
src/Dhall/Nix.hs view
@@ -111,6 +111,7 @@ import qualified Data.Map import qualified Data.Text+import qualified Data.Text.Buildable import qualified Data.Text.Lazy import qualified Data.Text.Lazy.Builder import qualified Data.Vector@@ -178,7 +179,10 @@ Nix |] where- txt = Data.Text.Lazy.toStrict (Dhall.Core.pretty v)+ builder = Data.Text.Buildable.build v++ txt =+ Data.Text.Lazy.toStrict (Data.Text.Lazy.Builder.toLazyText builder) show (NoDoubles n) = Data.Text.unpack [NeatInterpolation.text| $_ERROR: No doubles