Skip to content
Snippets Groups Projects
Unverified Commit e80632a6 authored by mergify[bot]'s avatar mergify[bot] Committed by GitHub
Browse files

Downgrade NoLibraryFound from an error to a warning (backport #9926) (#10076)


* Downgrade NoLibraryFound from an error to a warning

This makes Setup copy/install succeed if there's
nothing to do because the package doesn't contain
a library or executable.

This allows downstream users of Cabal to avoid having to
add workarounds for this edge case.

Resolves #6750

(cherry picked from commit 312a4124)

# Conflicts:
#	Cabal/src/Distribution/Simple/Install.hs

* fixup! fix conflicts

---------

Co-authored-by: default avatarTeo Camarasu <teo.camarasu@tracsis.com>
Co-authored-by: default avatarArtem Pelenitsyn <a.pelenitsyn@gmail.com>
Co-authored-by: default avatarmergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
parent 639928f9
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment