Skip to content

Commit 6393c0b

Browse files
committed
cabal: m clean-up
1 parent e6eed3a commit 6393c0b

File tree

1 file changed

+26
-8
lines changed

1 file changed

+26
-8
lines changed

hnix.cabal

Lines changed: 26 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,9 @@ library
400400
base hiding (Prelude)
401401
, relude (Relude as Prelude)
402402
, relude
403-
ghc-options: -Wall -fprint-potential-instances
403+
ghc-options:
404+
-Wall
405+
-fprint-potential-instances
404406
build-depends:
405407
aeson >= 1.4.2 && < 1.6
406408
, array >= 0.4 && < 0.6
@@ -485,7 +487,10 @@ library
485487
if flag(optimize)
486488
default-extensions:
487489
ApplicativeDo
488-
ghc-options: -fexpose-all-unfoldings -fspecialise-aggressively -O2
490+
ghc-options:
491+
-O2
492+
-fexpose-all-unfoldings
493+
-fspecialise-aggressively
489494
-- if !flag(profiling)
490495
-- build-depends:
491496
-- ghc-datasize
@@ -500,7 +505,8 @@ executable hnix
500505
Paths_hnix
501506
autogen-modules:
502507
Paths_hnix
503-
ghc-options: -Wall
508+
ghc-options:
509+
-Wall
504510
build-depends:
505511
aeson
506512
, base
@@ -547,7 +553,10 @@ executable hnix
547553
if flag(optimize)
548554
default-extensions:
549555
ApplicativeDo
550-
ghc-options: -fexpose-all-unfoldings -fspecialise-aggressively -O2
556+
ghc-options:
557+
-O2
558+
-fexpose-all-unfoldings
559+
-fspecialise-aggressively
551560
if impl(ghc < 8.10)
552561
-- GHC < 8.10 comes with haskeline < 0.8, which we don't support.
553562
-- To simplify CI, we just disable the component.
@@ -571,7 +580,9 @@ test-suite hnix-tests
571580
, relude
572581
hs-source-dirs:
573582
tests
574-
ghc-options: -Wall -threaded
583+
ghc-options:
584+
-Wall
585+
-threaded
575586
build-depends:
576587
Diff
577588
, Glob
@@ -620,7 +631,10 @@ test-suite hnix-tests
620631
if flag(optimize)
621632
default-extensions:
622633
ApplicativeDo
623-
ghc-options: -fexpose-all-unfoldings -fspecialise-aggressively -O2
634+
ghc-options:
635+
-O2
636+
-fexpose-all-unfoldings
637+
-fspecialise-aggressively
624638
default-language: Haskell2010
625639

626640
benchmark hnix-benchmarks
@@ -634,7 +648,8 @@ benchmark hnix-benchmarks
634648
base hiding (Prelude)
635649
, relude (Relude as Prelude)
636650
, relude
637-
ghc-options: -Wall
651+
ghc-options:
652+
-Wall
638653
build-depends:
639654
base
640655
, criterion
@@ -668,5 +683,8 @@ benchmark hnix-benchmarks
668683
if flag(optimize)
669684
default-extensions:
670685
ApplicativeDo
671-
ghc-options: -fexpose-all-unfoldings -fspecialise-aggressively -O2
686+
ghc-options:
687+
-O2
688+
-fexpose-all-unfoldings
689+
-fspecialise-aggressively
672690
default-language: Haskell2010

0 commit comments

Comments
 (0)