@@ -544,22 +544,20 @@ library
544544 if flag(optimize)
545545 ghc-options : -fexpose-all-unfoldings -fspecialise-aggressively -O2
546546 if !impl(ghcjs)
547+ exposed-modules :
548+ Nix.Options.Parser
547549 build-depends :
548550 base16-bytestring >= 0.1.1 && < 0.2
549551 , cryptohash-md5 >= 0.11.100 && < 0.12
550552 , cryptohash-sha1 >= 0.11.100 && < 0.12
551553 , cryptohash-sha256 >= 0.11.101 && < 0.12
552554 , cryptohash-sha512 >= 0.11.100 && < 0.12
555+ , haskeline >= 0.7.4.2 && < 0.8
556+ , pretty-show >= 1.9.5 && < 1.10
553557 , serialise >= 0.2.1 && < 0.3
554558 -- if !flag(profiling)
555559 -- build-depends:
556560 -- ghc-datasize
557- if !impl(ghcjs)
558- exposed-modules :
559- Nix.Options.Parser
560- build-depends :
561- haskeline >= 0.7.4.2 && < 0.8
562- , pretty-show >= 1.9.5 && < 1.10
563561 default-language : Haskell2010
564562
565563executable hnix
@@ -573,9 +571,14 @@ executable hnix
573571 build-depends :
574572 aeson
575573 , base
574+ , base16-bytestring
576575 , bytestring
577576 , comonad
578577 , containers
578+ , cryptohash-md5
579+ , cryptohash-sha1
580+ , cryptohash-sha256
581+ , cryptohash-sha512
579582 , data-fix
580583 , deepseq
581584 , exceptions
@@ -590,25 +593,16 @@ executable hnix
590593 , prettyprinter
591594 , ref-tf
592595 , repline
596+ , serialise
593597 , template-haskell
594598 , text
595599 , time
596600 , transformers
597601 , unordered-containers
598602 if flag(optimize)
599603 ghc-options : -fexpose-all-unfoldings -fspecialise-aggressively -O2
600- if !impl(ghcjs)
601- build-depends :
602- base16-bytestring
603- , cryptohash-md5
604- , cryptohash-sha1
605- , cryptohash-sha256
606- , cryptohash-sha512
607- , serialise
608604 if impl(ghcjs)
609605 buildable : False
610- else
611- buildable : True
612606 default-language : Haskell2010
613607
614608test-suite hnix-tests
@@ -630,8 +624,13 @@ test-suite hnix-tests
630624 Diff
631625 , Glob
632626 , base >= 4.11 && < 5
627+ , base16-bytestring
633628 , bytestring
634629 , containers
630+ , cryptohash-md5
631+ , cryptohash-sha1
632+ , cryptohash-sha256
633+ , cryptohash-sha512
635634 , data-fix
636635 , deepseq >= 1.4.3 && < 1.5
637636 , dependent-sum
@@ -655,6 +654,7 @@ test-suite hnix-tests
655654 , tasty-hunit
656655 , tasty-quickcheck
657656 , tasty-th
657+ , serialise
658658 , template-haskell
659659 , text
660660 , time
@@ -663,18 +663,8 @@ test-suite hnix-tests
663663 , unordered-containers >= 0.2.9 && < 0.3
664664 if flag(optimize)
665665 ghc-options : -fexpose-all-unfoldings -fspecialise-aggressively -O2
666- if !impl(ghcjs)
667- build-depends :
668- base16-bytestring
669- , cryptohash-md5
670- , cryptohash-sha1
671- , cryptohash-sha256
672- , cryptohash-sha512
673- , serialise
674666 if impl(ghcjs)
675667 buildable : False
676- else
677- buildable : True
678668 default-language : Haskell2010
679669
680670benchmark hnix-benchmarks
@@ -688,9 +678,14 @@ benchmark hnix-benchmarks
688678 ghc-options : -Wall
689679 build-depends :
690680 base >= 4.11 && < 5
681+ , base16-bytestring
691682 , bytestring
692683 , containers
693684 , criterion
685+ , cryptohash-md5
686+ , cryptohash-sha1
687+ , cryptohash-sha256
688+ , cryptohash-sha512
694689 , data-fix
695690 , deepseq >= 1.4.3 && < 1.5
696691 , exceptions
@@ -699,23 +694,14 @@ benchmark hnix-benchmarks
699694 , hnix
700695 , mtl
701696 , optparse-applicative
697+ , serialise
702698 , template-haskell
703699 , text
704700 , time
705701 , transformers
706702 , unordered-containers >= 0.2.9 && < 0.3
707703 if flag(optimize)
708704 ghc-options : -fexpose-all-unfoldings -fspecialise-aggressively -O2
709- if !impl(ghcjs)
710- build-depends :
711- base16-bytestring
712- , cryptohash-md5
713- , cryptohash-sha1
714- , cryptohash-sha256
715- , cryptohash-sha512
716- , serialise
717705 if impl(ghcjs)
718706 buildable : False
719- else
720- buildable : True
721707 default-language : Haskell2010
0 commit comments