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

Carry over CABAL_CHDEPS from previous versions #133

Open
hololeap opened this issue Sep 2, 2023 · 0 comments
Open

Carry over CABAL_CHDEPS from previous versions #133

hololeap opened this issue Sep 2, 2023 · 0 comments
Labels

Comments

@hololeap
Copy link
Member

hololeap commented Sep 2, 2023

It would be nice if hackport could automatically carry over CABAL_CHDEPS when running hackport merge and modify RDEPEND/DEPEND accordingly.

+ CABAL_CHDEPS=(
+ 	'hedgehog                   >= 1.0        && < 1.4' 'hedgehog >= 1.0'
+ )
- >=dev-haskell/hedgehog-1.0 <dev-haskell/hedgehog-1.4
+ >=dev-haskell/hedgehog-1.0

Ideally, it would be able to detect if the snippet changed by CABAL_CHDEPS was still in the .cabal file and decide which parts to carry over based on that.

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

No branches or pull requests

1 participant