Open cdepillabout opened 1 month ago
stack.yaml has a top-level flags key to specify Cabal flags to pass to any package:
stack.yaml
flags
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.
stacklock2nix
Same goes for allow-newer/allow-newer-deps? It seems currently derivations need to be jailbroken on Nix side.
allow-newer
allow-newer-deps
stack.yaml
has a top-levelflags
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.