typeable/stackage2nix

Respect packages in stack.yaml `nix` section

Opened this issue · 2 comments

nc6 commented

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.

4e6 commented

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.