@@ -173,7 +173,7 @@ common defaults
173173 other-extensions : CPP, TemplateHaskell
174174
175175
176- library lib-server
176+ library
177177 import : defaults
178178 hs-source-dirs : src
179179
@@ -472,7 +472,7 @@ library lib-server
472472common exe-defaults
473473 import : defaults
474474
475- build-depends : lib -server
475+ build-depends : hackage -server
476476 hs-source-dirs : exes
477477 ghc-options : -threaded -rtsopts
478478
@@ -493,7 +493,7 @@ executable hackage-mirror
493493 main-is : MirrorClient.hs
494494
495495 build-depends :
496- -- version constraints inherited from lib -server
496+ -- version constraints inherited from hackage -server
497497 , HTTP
498498 , hackage-security
499499
@@ -503,7 +503,7 @@ executable hackage-build
503503 main-is : BuildClient.hs
504504
505505 build-depends :
506- -- version constraints inherited from lib -server
506+ -- version constraints inherited from hackage -server
507507 , HTTP
508508
509509 -- Runtime dependency only;
@@ -523,7 +523,7 @@ executable hackage-import
523523 main-is : ImportClient.hs
524524
525525 build-depends :
526- -- version constraints inherited from lib -server
526+ -- version constraints inherited from hackage -server
527527 , HTTP
528528 , async
529529 , csv
@@ -533,7 +533,7 @@ executable hackage-import
533533common test-defaults
534534 import : defaults
535535
536- build-depends : lib -server
536+ build-depends : hackage -server
537537 hs-source-dirs : tests
538538 ghc-options : -threaded -rtsopts -fno-warn-orphans
539539
@@ -563,9 +563,9 @@ test-suite HighLevelTest
563563 -- so if this works, it's accidental!
564564 build-tool-depends : hackage-server :hackage-server
565565
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
567567 build-depends :
568- -- version constraints inherited from lib -server
568+ -- version constraints inherited from hackage -server
569569 , HTTP
570570 , attoparsec-aeson >= 2.1.0.0 && < 2.3
571571 , base64-bytestring
@@ -640,9 +640,9 @@ test-suite CreateUserTest
640640 -- see note in 'Test-Suite HighLevelTest'
641641 build-tool-depends : hackage-server :hackage-server
642642
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
644644 build-depends :
645- -- version constraints inherited from lib -server
645+ -- version constraints inherited from hackage -server
646646 , HTTP
647647 , base64-bytestring
648648 , random
@@ -657,7 +657,7 @@ test-suite PackageTests
657657 other-modules : Distribution.Server.Packages.UnpackTest
658658
659659 build-depends :
660- -- version constraints inherited from lib -server
660+ -- version constraints inherited from hackage -server
661661 -- component-specific dependencies
662662 , tasty ^>= 1.5
663663 , tasty-hunit ^>= 0.10
@@ -670,7 +670,7 @@ test-suite HashTests
670670 main-is : HashTestMain.hs
671671
672672 build-depends :
673- -- version constraints inherited from lib -server
673+ -- version constraints inherited from hackage -server
674674 , base16-bytestring
675675 , cereal
676676 , cryptohash-md5
@@ -686,7 +686,7 @@ test-suite DocTests
686686 type : exitcode-stdio-1.0
687687 main-is : DocTestMain.hs
688688 build-depends :
689- , lib -server
689+ , hackage -server
690690 , doctest-parallel ^>= 0.3.0
691691 -- doctest-parallel-0.2.2 is the first to filter out autogen-modules
692692
0 commit comments