@@ -173,7 +173,7 @@ common defaults
173
173
other-extensions : CPP, TemplateHaskell
174
174
175
175
176
- library lib-server
176
+ library
177
177
import : defaults
178
178
hs-source-dirs : src
179
179
@@ -472,7 +472,7 @@ library lib-server
472
472
common exe-defaults
473
473
import : defaults
474
474
475
- build-depends : lib -server
475
+ build-depends : hackage -server
476
476
hs-source-dirs : exes
477
477
ghc-options : -threaded -rtsopts
478
478
@@ -493,7 +493,7 @@ executable hackage-mirror
493
493
main-is : MirrorClient.hs
494
494
495
495
build-depends :
496
- -- version constraints inherited from lib -server
496
+ -- version constraints inherited from hackage -server
497
497
, HTTP
498
498
, hackage-security
499
499
@@ -503,7 +503,7 @@ executable hackage-build
503
503
main-is : BuildClient.hs
504
504
505
505
build-depends :
506
- -- version constraints inherited from lib -server
506
+ -- version constraints inherited from hackage -server
507
507
, HTTP
508
508
509
509
-- Runtime dependency only;
@@ -523,7 +523,7 @@ executable hackage-import
523
523
main-is : ImportClient.hs
524
524
525
525
build-depends :
526
- -- version constraints inherited from lib -server
526
+ -- version constraints inherited from hackage -server
527
527
, HTTP
528
528
, async
529
529
, csv
@@ -533,7 +533,7 @@ executable hackage-import
533
533
common test-defaults
534
534
import : defaults
535
535
536
- build-depends : lib -server
536
+ build-depends : hackage -server
537
537
hs-source-dirs : tests
538
538
ghc-options : -threaded -rtsopts -fno-warn-orphans
539
539
@@ -563,9 +563,9 @@ test-suite HighLevelTest
563
563
-- so if this works, it's accidental!
564
564
build-tool-depends : hackage-server :hackage-server
565
565
566
- -- NOTE: lib -server is not a real dependency; it's only used to inherit version constraints
566
+ -- NOTE: hackage -server is not a real dependency; it's only used to inherit version constraints
567
567
build-depends :
568
- -- version constraints inherited from lib -server
568
+ -- version constraints inherited from hackage -server
569
569
, HTTP
570
570
, attoparsec-aeson >= 2.1.0.0 && < 2.3
571
571
, base64-bytestring
@@ -640,9 +640,9 @@ test-suite CreateUserTest
640
640
-- see note in 'Test-Suite HighLevelTest'
641
641
build-tool-depends : hackage-server :hackage-server
642
642
643
- -- NOTE: lib -server is not a real dependency; it's only used to inherit version constraints
643
+ -- NOTE: hackage -server is not a real dependency; it's only used to inherit version constraints
644
644
build-depends :
645
- -- version constraints inherited from lib -server
645
+ -- version constraints inherited from hackage -server
646
646
, HTTP
647
647
, base64-bytestring
648
648
, random
@@ -657,7 +657,7 @@ test-suite PackageTests
657
657
other-modules : Distribution.Server.Packages.UnpackTest
658
658
659
659
build-depends :
660
- -- version constraints inherited from lib -server
660
+ -- version constraints inherited from hackage -server
661
661
-- component-specific dependencies
662
662
, tasty ^>= 1.5
663
663
, tasty-hunit ^>= 0.10
@@ -670,7 +670,7 @@ test-suite HashTests
670
670
main-is : HashTestMain.hs
671
671
672
672
build-depends :
673
- -- version constraints inherited from lib -server
673
+ -- version constraints inherited from hackage -server
674
674
, base16-bytestring
675
675
, cereal
676
676
, cryptohash-md5
@@ -686,7 +686,7 @@ test-suite DocTests
686
686
type : exitcode-stdio-1.0
687
687
main-is : DocTestMain.hs
688
688
build-depends :
689
- , lib -server
689
+ , hackage -server
690
690
, doctest-parallel ^>= 0.3.0
691
691
-- doctest-parallel-0.2.2 is the first to filter out autogen-modules
692
692
0 commit comments