Skip to content

Commit 6816ae5

Browse files
authored
Merge pull request #297 from haskell-nix/sort-a-cabal-file
Sort some parts of cabal files
2 parents aa1b698 + 94a8f9e commit 6816ae5

File tree

2 files changed

+15
-13
lines changed

2 files changed

+15
-13
lines changed

hnix-store-core/hnix-store-core.cabal

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -24,34 +24,34 @@ common commons
2424
ghc-options: -Wall
2525
default-extensions:
2626
ConstraintKinds
27+
, BangPatterns
2728
, DataKinds
28-
, DeriveGeneric
2929
, DeriveDataTypeable
30-
, DeriveFunctor
3130
, DeriveFoldable
32-
, DeriveTraversable
31+
, DeriveFunctor
32+
, DeriveGeneric
3333
, DeriveLift
34+
, DeriveTraversable
3435
, DerivingStrategies
3536
, DerivingVia
3637
, ExistentialQuantification
3738
, FlexibleContexts
3839
, FlexibleInstances
3940
, GADTs
4041
, ImportQualifiedPost
42+
, InstanceSigs
43+
, KindSignatures
44+
, LambdaCase
45+
, MultiParamTypeClasses
46+
, MultiWayIf
47+
, RecordWildCards
4148
, ScopedTypeVariables
4249
, StandaloneDeriving
43-
, RecordWildCards
50+
, TupleSections
4451
, TypeApplications
4552
, TypeFamilies
4653
, TypeOperators
4754
, TypeSynonymInstances
48-
, InstanceSigs
49-
, KindSignatures
50-
, MultiParamTypeClasses
51-
, MultiWayIf
52-
, TupleSections
53-
, LambdaCase
54-
, BangPatterns
5555
, ViewPatterns
5656
default-language: Haskell2010
5757

@@ -80,8 +80,8 @@ library
8080
, base16-bytestring >= 1.0
8181
, base64-bytestring >= 1.2.1
8282
, bytestring
83-
, containers
8483
, constraints-extras
84+
, containers
8585
, crypton
8686
, data-default-class
8787
, dependent-sum > 0.7
@@ -92,8 +92,8 @@ library
9292
, memory
9393
, nix-derivation >= 1.1.1 && <2
9494
, some > 1.0.5 && < 2
95-
, time
9695
, text
96+
, time
9797
, unordered-containers
9898
, vector
9999
hs-source-dirs: src

hnix-store-json/hnix-store-json.cabal

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ library
3939
build-depends:
4040
base >=4.12 && <5
4141
, hnix-store-core >= 0.8
42+
4243
, aeson >= 2.0 && < 3.0
4344
, attoparsec
4445
, deriving-aeson >= 0.2
@@ -60,6 +61,7 @@ test-suite json
6061
, hnix-store-core
6162
, hnix-store-json
6263
, hnix-store-tests
64+
6365
, aeson
6466
, containers
6567
, data-default-class

0 commit comments

Comments
 (0)