stackage2nix
stackage2nix copied to clipboard
Respect packages in stack.yaml `nix` section
If additional dependencies are specified in stack.yaml, as per:
nix:
packages: [ openssl ]
they should be added to the package configuration using addBuildDepend for the packages defined in default.nix.
Thanks. Yes, this should be straightforward, I don't see any problems implementing this.
Currently, I am doing some refactoring, preparing to PR my cabal2nix fork. I'll try to look closer on this weekend.
Link to appropriate Stack docs https://docs.haskellstack.org/en/stable/nix_integration/#configuration