stacklock2nix icon indicating copy to clipboard operation
stacklock2nix copied to clipboard

apply `flags` from `stack.yaml`

Open cdepillabout opened this issue 1 year ago • 1 comments

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 avatar Oct 15 '24 01:10 cdepillabout

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

Mr-Andersen avatar Nov 10 '24 09:11 Mr-Andersen