Simplify hnix.cabal some more
This commit is contained in:
parent
5c8c1cc16f
commit
7603e3634c
58
hnix.cabal
58
hnix.cabal
|
@ -544,22 +544,20 @@ library
|
|||
if flag(optimize)
|
||||
ghc-options: -fexpose-all-unfoldings -fspecialise-aggressively -O2
|
||||
if !impl(ghcjs)
|
||||
exposed-modules:
|
||||
Nix.Options.Parser
|
||||
build-depends:
|
||||
base16-bytestring >= 0.1.1 && < 0.2
|
||||
, cryptohash-md5 >= 0.11.100 && < 0.12
|
||||
, cryptohash-sha1 >= 0.11.100 && < 0.12
|
||||
, cryptohash-sha256 >= 0.11.101 && < 0.12
|
||||
, cryptohash-sha512 >= 0.11.100 && < 0.12
|
||||
, haskeline >= 0.7.4.2 && < 0.8
|
||||
, pretty-show >= 1.9.5 && < 1.10
|
||||
, serialise >= 0.2.1 && < 0.3
|
||||
-- if !flag(profiling)
|
||||
-- build-depends:
|
||||
-- ghc-datasize
|
||||
if !impl(ghcjs)
|
||||
exposed-modules:
|
||||
Nix.Options.Parser
|
||||
build-depends:
|
||||
haskeline >= 0.7.4.2 && < 0.8
|
||||
, pretty-show >= 1.9.5 && < 1.10
|
||||
default-language: Haskell2010
|
||||
|
||||
executable hnix
|
||||
|
@ -573,9 +571,14 @@ executable hnix
|
|||
build-depends:
|
||||
aeson
|
||||
, base
|
||||
, base16-bytestring
|
||||
, bytestring
|
||||
, comonad
|
||||
, containers
|
||||
, cryptohash-md5
|
||||
, cryptohash-sha1
|
||||
, cryptohash-sha256
|
||||
, cryptohash-sha512
|
||||
, data-fix
|
||||
, deepseq
|
||||
, exceptions
|
||||
|
@ -590,6 +593,7 @@ executable hnix
|
|||
, prettyprinter
|
||||
, ref-tf
|
||||
, repline
|
||||
, serialise
|
||||
, template-haskell
|
||||
, text
|
||||
, time
|
||||
|
@ -597,18 +601,8 @@ executable hnix
|
|||
, unordered-containers
|
||||
if flag(optimize)
|
||||
ghc-options: -fexpose-all-unfoldings -fspecialise-aggressively -O2
|
||||
if !impl(ghcjs)
|
||||
build-depends:
|
||||
base16-bytestring
|
||||
, cryptohash-md5
|
||||
, cryptohash-sha1
|
||||
, cryptohash-sha256
|
||||
, cryptohash-sha512
|
||||
, serialise
|
||||
if impl(ghcjs)
|
||||
buildable: False
|
||||
else
|
||||
buildable: True
|
||||
default-language: Haskell2010
|
||||
|
||||
test-suite hnix-tests
|
||||
|
@ -630,8 +624,13 @@ test-suite hnix-tests
|
|||
Diff
|
||||
, Glob
|
||||
, base >=4.11 && <5
|
||||
, base16-bytestring
|
||||
, bytestring
|
||||
, containers
|
||||
, cryptohash-md5
|
||||
, cryptohash-sha1
|
||||
, cryptohash-sha256
|
||||
, cryptohash-sha512
|
||||
, data-fix
|
||||
, deepseq >=1.4.3 && <1.5
|
||||
, dependent-sum
|
||||
|
@ -655,6 +654,7 @@ test-suite hnix-tests
|
|||
, tasty-hunit
|
||||
, tasty-quickcheck
|
||||
, tasty-th
|
||||
, serialise
|
||||
, template-haskell
|
||||
, text
|
||||
, time
|
||||
|
@ -663,18 +663,8 @@ test-suite hnix-tests
|
|||
, unordered-containers >=0.2.9 && <0.3
|
||||
if flag(optimize)
|
||||
ghc-options: -fexpose-all-unfoldings -fspecialise-aggressively -O2
|
||||
if !impl(ghcjs)
|
||||
build-depends:
|
||||
base16-bytestring
|
||||
, cryptohash-md5
|
||||
, cryptohash-sha1
|
||||
, cryptohash-sha256
|
||||
, cryptohash-sha512
|
||||
, serialise
|
||||
if impl(ghcjs)
|
||||
buildable: False
|
||||
else
|
||||
buildable: True
|
||||
default-language: Haskell2010
|
||||
|
||||
benchmark hnix-benchmarks
|
||||
|
@ -688,9 +678,14 @@ benchmark hnix-benchmarks
|
|||
ghc-options: -Wall
|
||||
build-depends:
|
||||
base >=4.11 && <5
|
||||
, base16-bytestring
|
||||
, bytestring
|
||||
, containers
|
||||
, criterion
|
||||
, cryptohash-md5
|
||||
, cryptohash-sha1
|
||||
, cryptohash-sha256
|
||||
, cryptohash-sha512
|
||||
, data-fix
|
||||
, deepseq >=1.4.3 && <1.5
|
||||
, exceptions
|
||||
|
@ -699,6 +694,7 @@ benchmark hnix-benchmarks
|
|||
, hnix
|
||||
, mtl
|
||||
, optparse-applicative
|
||||
, serialise
|
||||
, template-haskell
|
||||
, text
|
||||
, time
|
||||
|
@ -706,16 +702,6 @@ benchmark hnix-benchmarks
|
|||
, unordered-containers >=0.2.9 && <0.3
|
||||
if flag(optimize)
|
||||
ghc-options: -fexpose-all-unfoldings -fspecialise-aggressively -O2
|
||||
if !impl(ghcjs)
|
||||
build-depends:
|
||||
base16-bytestring
|
||||
, cryptohash-md5
|
||||
, cryptohash-sha1
|
||||
, cryptohash-sha256
|
||||
, cryptohash-sha512
|
||||
, serialise
|
||||
if impl(ghcjs)
|
||||
buildable: False
|
||||
else
|
||||
buildable: True
|
||||
default-language: Haskell2010
|
||||
|
|
Loading…
Reference in New Issue