git.iko.soy/typeable/cabal2nix
on master help sign in
Declare the extensions we use.
commit9619f4043c1c6d153b443601544768ee944d5229 authorPeter Simons <simons@cryp.to> dateMon 15 May 2017, 16:55 (9 years ago) parentc476907
2 files changed+13−2
cabal2nix.cabal+3−2 package.yaml+10
cabal2nix.cabal+3−2
@@ -80,6 +80,7 @@ source-repository head
8080library
8181 hs-source-dirs:
8282 src
83+ other-extensions: CPP DeriveGeneric FlexibleInstances MultiParamTypeClasses OverloadedStrings RecordWildCards ScopedTypeVariables StandaloneDeriving TemplateHaskell
8384 ghc-options: -Wall
8485 build-depends:
8586 aeson
@@ -172,12 +173,12 @@ executable hackage2nix
172173 , distribution-nixpkgs
173174 , filepath
174175 , hackage-db
176+ , hopenssl >= 2
175177 , language-nix
176178 , lens
177179 , optparse-applicative
178180 , pretty >= 1.1.2
179181 , process
180− , SHA
181182 , split
182183 , text
183184 , transformers
@@ -211,12 +212,12 @@ test-suite doctests
211212 , distribution-nixpkgs
212213 , filepath
213214 , hackage-db
215+ , hopenssl >= 2
214216 , language-nix
215217 , lens
216218 , optparse-applicative
217219 , pretty >= 1.1.2
218220 , process
219− , SHA
220221 , split
221222 , text
222223 , transformers
package.yaml+10
@@ -98,6 +98,16 @@ dependencies:
9898
9999library:
100100 source-dirs: src
101+ other-extensions:
102+ - CPP
103+ - DeriveGeneric
104+ - FlexibleInstances
105+ - MultiParamTypeClasses
106+ - OverloadedStrings
107+ - RecordWildCards
108+ - ScopedTypeVariables
109+ - StandaloneDeriving
110+ - TemplateHaskell
101111 exposed-modules:
102112 - Distribution.Nixpkgs.Fetch
103113 - Distribution.Nixpkgs.Haskell