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

apply flags from stack.yaml #54

Open
cdepillabout opened this issue Oct 15, 2024 · 1 comment
Open

apply flags from stack.yaml #54

cdepillabout opened this issue Oct 15, 2024 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@cdepillabout
Copy link
Owner

stack.yaml has a top-level flags key to specify Cabal flags to pass to any package:

https://docs.haskellstack.org/en/stable/configure/yaml/project/#flags

It would be nice to for stacklock2nix to interpret this list of flags and apply them automatically to the packages in the package set it generates.

@cdepillabout cdepillabout added enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers labels Oct 15, 2024
@Mr-Andersen
Copy link
Contributor

Same goes for allow-newer/allow-newer-deps? It seems currently derivations need to be jailbroken on Nix side.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants