-
Notifications
You must be signed in to change notification settings - Fork 697
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow more erroneous warnings for now.
Eventually, configuring will be rewritten so extra constraints do note pollute the checks. When that happens this commit should be reverted.
- Loading branch information
1 parent
9ab9e84
commit 9e0ed42
Showing
5 changed files
with
5 additions
and
8 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
cabal-testsuite/PackageTests/BuildDeps/InternalLibrary0/setup.cabal.out
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# Setup configure | ||
Resolving dependencies... | ||
Configuring InternalLibrary0-0.1... | ||
cabal: The field 'build-depends: InternalLibrary0' refers to a library which is defined within the same package. To use this feature the package must specify at least 'cabal-version: >= 1.8'. | ||
cabal: The field 'build-depends: InternalLibrary0 -any' refers to a library which is defined within the same package. To use this feature the package must specify at least 'cabal-version: >= 1.8'. |
2 changes: 1 addition & 1 deletion
2
cabal-testsuite/PackageTests/BuildDeps/InternalLibrary0/setup.out
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
# Setup configure | ||
Configuring InternalLibrary0-0.1... | ||
setup: The field 'build-depends: InternalLibrary0' refers to a library which is defined within the same package. To use this feature the package must specify at least 'cabal-version: >= 1.8'. | ||
setup: The field 'build-depends: InternalLibrary0 -any' refers to a library which is defined within the same package. To use this feature the package must specify at least 'cabal-version: >= 1.8'. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 0 additions & 6 deletions
6
cabal-testsuite/PackageTests/InternalVersions/BuildDependsBad/setup.cabal.out
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,4 @@ | ||
# Setup configure | ||
Resolving dependencies... | ||
Warning: solver failed to find a solution: | ||
Could not resolve dependencies: | ||
next goal: build-depends-bad-version (user goal) | ||
rejecting: build-depends-bad-version-0.1.0.0 (conflict: build-depends-bad-version==0.1.0.0, build-depends-bad-version => build-depends-bad-version>=2) | ||
After searching the rest of the dependency tree exhaustively, these were the goals I've had most trouble fulfilling: build-depends-bad-version (2) | ||
Trying configure anyway. | ||
Configuring build-depends-bad-version-0.1.0.0... | ||
cabal: The package has an impossible version range for a dependency on an internal library: build-depends-bad-version >=2. This version range does not include the current package, and must be removed as the current package's library will always be used. |