Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for -this-package-key deprecation #6735

Merged
merged 1 commit into from
May 5, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Cabal/Distribution/Backpack/Id.hs
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,8 @@ computeCompatPackageKey
-> UnitId
-> String
computeCompatPackageKey comp pkg_name pkg_version uid
| not (packageKeySupported comp) =
prettyShow pkg_name ++ "-" ++ prettyShow pkg_version
| not (packageKeySupported comp || unitIdSupported comp)
= prettyShow pkg_name ++ "-" ++ prettyShow pkg_version
| not (unifiedIPIDRequired comp) =
let str = unUnitId uid -- assume no Backpack support
mb_verbatim_key
Expand Down