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

jailbreak = true seems to be failing on a conditional flag #24

Open
locallycompact opened this issue Mar 16, 2023 · 4 comments
Open

jailbreak = true seems to be failing on a conditional flag #24

locallycompact opened this issue Mar 16, 2023 · 4 comments

Comments

@locallycompact
Copy link

Here's a flag in monoidal-containers that jailbreak seems to be struggling with:

https://github.com/bgamari/monoidal-containers/blob/5968c2448ae46855c2736dd9b97a5493886d1ce4/monoidal-containers.cabal#L66-L72

https://gitlab.horizon-haskell.net/package-sets/horizon-platform/-/jobs/63910

@cdepillabout
Copy link
Member

This is unfortunately the behavior of jailbreak-cabal: #7

There are a bunch of closed issues on this issue tracker and on the nixpkgs issue tracker complaining about this. But it is a tough problem because of how complicated cabal is.

@sternenseemann
Copy link
Member

Documented behavior. Would need haskell/cabal#7445 instead (or us reimplementing this here somehow).

@arjunkathuria
Copy link

Hi. Ran into this for another package today. Did we find a solution or an acceptable workaround for this yet?

@maralorn
Copy link
Member

maralorn commented Oct 4, 2023

Normal workarounds are patching or sed'ing the cabal file.

I am working on haskell/cabal#7445, but upstream wants to do it right. So it's taking a while.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants