git.iko.soy/typeable/cabal2nix
on master help sign in
Declare the extensions we use.
9619f40Peter Simons
cabal2nix.cabal+3−2
@@ -80,6 +80,7 @@ source-repository head
80library
80library
81 hs-source-dirs:
81 hs-source-dirs:
82 src
82 src
83+ other-extensions: CPP DeriveGeneric FlexibleInstances MultiParamTypeClasses OverloadedStrings RecordWildCards ScopedTypeVariables StandaloneDeriving TemplateHaskell
83 ghc-options: -Wall
84 ghc-options: -Wall
84 build-depends:
85 build-depends:
85 aeson
86 aeson
@@ -172,12 +173,12 @@ executable hackage2nix
172 , distribution-nixpkgs
173 , distribution-nixpkgs
173 , filepath
174 , filepath
174 , hackage-db
175 , hackage-db
176+ , hopenssl >= 2
175 , language-nix
177 , language-nix
176 , lens
178 , lens
177 , optparse-applicative
179 , optparse-applicative
178 , pretty >= 1.1.2
180 , pretty >= 1.1.2
179 , process
181 , process
180− , SHA
181 , split
182 , split
182 , text
183 , text
183 , transformers
184 , transformers
@@ -211,12 +212,12 @@ test-suite doctests
211 , distribution-nixpkgs
212 , distribution-nixpkgs
212 , filepath
213 , filepath
213 , hackage-db
214 , hackage-db
215+ , hopenssl >= 2
214 , language-nix
216 , language-nix
215 , lens
217 , lens
216 , optparse-applicative
218 , optparse-applicative
217 , pretty >= 1.1.2
219 , pretty >= 1.1.2
218 , process
220 , process
219− , SHA
220 , split
221 , split
221 , text
222 , text
222 , transformers
223 , transformers
package.yaml+10
@@ -98,6 +98,16 @@ dependencies:
98
98
99library:
99library:
100 source-dirs: src
100 source-dirs: src
101+ other-extensions:
102+ - CPP
103+ - DeriveGeneric
104+ - FlexibleInstances
105+ - MultiParamTypeClasses
106+ - OverloadedStrings
107+ - RecordWildCards
108+ - ScopedTypeVariables
109+ - StandaloneDeriving
110+ - TemplateHaskell
101 exposed-modules:
111 exposed-modules:
102 - Distribution.Nixpkgs.Fetch
112 - Distribution.Nixpkgs.Fetch
103 - Distribution.Nixpkgs.Haskell
113 - Distribution.Nixpkgs.Haskell