git.iko.soy/typeable/cabal2nix
on master help sign in
We currently don't support Cabal 2.x.
commitb1f46a5a11e06f231678fb3c08d9f8c8a70e4d22 authorPeter Simons <simons@cryp.to> dateTue 18 Jul 2017, 18:25 (9 years ago) parent3eafe2b
3 files changed+7−10
.travis.yml−3 cabal2nix.cabal+5−5 package.yaml+2−2
.travis.yml−3
@@ -41,9 +41,6 @@ matrix:
4141 - compiler: "ghc-8.0.2"
4242 # env: TEST=--disable-tests BENCH=--disable-benchmarks
4343 addons: {apt: {packages: [ghc-ppa-tools,cabal-install-head,ghc-8.0.2], sources: [hvr-ghc]}}
44− - compiler: "ghc-8.2.1"
45− # env: TEST=--disable-tests BENCH=--disable-benchmarks
46− addons: {apt: {packages: [ghc-ppa-tools,cabal-install-head,ghc-8.2.1], sources: [hvr-ghc]}}
4744
4845before_install:
4946 - HC=${CC}
cabal2nix.cabal+5−5
@@ -66,7 +66,7 @@ author: Peter Simons,
6666maintainer: Peter Simons <simons@cryp.to>
6767license: BSD3
6868license-file: LICENSE
69−tested-with: GHC > 7.10 && < 8.3
69+tested-with: GHC > 7.10 && < 8.1
7070build-type: Custom
7171cabal-version: >= 1.10
7272
@@ -93,7 +93,7 @@ library
9393 , ansi-wl-pprint
9494 , base < 5
9595 , bytestring
96− , Cabal > 1.24
96+ , Cabal > 1.24 && < 2
9797 , containers
9898 , deepseq >= 1.4
9999 , directory
@@ -141,7 +141,7 @@ executable cabal2nix
141141 , ansi-wl-pprint
142142 , base < 5
143143 , bytestring
144− , Cabal > 1.24
144+ , Cabal > 1.24 && < 2
145145 , containers
146146 , deepseq >= 1.4
147147 , directory
@@ -173,7 +173,7 @@ executable hackage2nix
173173 , ansi-wl-pprint
174174 , base < 5
175175 , bytestring
176− , Cabal > 1.24
176+ , Cabal > 1.24 && < 2
177177 , containers
178178 , deepseq >= 1.4
179179 , directory
@@ -212,7 +212,7 @@ test-suite doctests
212212 , ansi-wl-pprint
213213 , base < 5
214214 , bytestring
215− , Cabal > 1.24
215+ , Cabal > 1.24 && < 2
216216 , containers
217217 , deepseq >= 1.4
218218 , directory
package.yaml+2−2
@@ -59,7 +59,7 @@ license-file: LICENSE
5959github: nixos/cabal2nix
6060category: Distribution, Nix
6161stability: stable
62−tested-with: GHC > 7.10 && < 8.3
62+tested-with: GHC > 7.10 && < 8.1
6363description: >
6464 Convert Cabal files into Nix build instructions. Users of Nix can install the
6565 latest version by running:
@@ -84,7 +84,7 @@ dependencies:
8484 - ansi-wl-pprint
8585 - base < 5
8686 - bytestring
87− - Cabal > 1.24
87+ - Cabal > 1.24 && < 2
8888 - containers
8989 - deepseq >= 1.4
9090 - directory