Skip to content
This repository has been archived by the owner on Feb 3, 2022. It is now read-only.

fix abi depends #293

Merged
merged 1 commit into from
Nov 23, 2017
Merged

fix abi depends #293

merged 1 commit into from
Nov 23, 2017

Conversation

gbaz
Copy link
Contributor

@gbaz gbaz commented Nov 23, 2017

This undoes the usage of target instead of inplace confs, which was a bad idea. We still need inplace confs to be able to point to artifacts that are not in their final locations. (All this is because without some tricks, things are really not relocatable in the ghc-pkg database). However, because the confs now have abi-depends that can be inaccurate in the inplace case, we're back at the original bug. The solution is a dumb hack -- we just rewrite each generated conf immediately following generation (target and inplace both) to strip out the abi-depends field, which was optional anyway.

@gbaz gbaz merged commit 330be7b into master Nov 23, 2017
@gbaz gbaz deleted the fix-abi-issues branch November 23, 2017 01:49
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant