-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
Given https://hackage.haskell.org/package/ede-0.3.2.0/revision/0.cabal, if I run
$ hackage-cli add-bound aeson '< 1.6' ede-0.3.2.0.cabal
, hackage-cli
applies the following patch:
@@ -56,6 +56,8 @@ common base
other-modules: Paths_ede
library
+ build-depends: aeson <1.6
+
import: base
hs-source-dirs: lib
exposed-modules:
If I try to push this revision, the response is:
Warning: ede-0.3.2.0.cabal:61:3: Unknown field: "import"
Pushing "ede-0.3.2.0.cabal" (ede-0.3.2.0~0) [review-mode] ...
Hackage response was (after 0.622 secs):
================================================================================
Errors:
Cannot remove existing library dependency on 'base' in library component
================================================================================
cabal check
reveals:
Warning: These warnings may cause trouble when distributing the package:
Warning: ede.cabal:61:3: Unknown field: import. Common stanza imports should
be at the top of the enclosing section
Warning: Hackage would reject this package.
Metadata
Metadata
Assignees
Labels
No labels