stackage2nix icon indicating copy to clipboard operation
stackage2nix copied to clipboard

Respect packages in stack.yaml `nix` section

Open nc6 opened this issue 8 years ago • 2 comments

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.

nc6 avatar Aug 14 '17 16:08 nc6

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.

4e6 avatar Aug 14 '17 17:08 4e6

Link to appropriate Stack docs https://docs.haskellstack.org/en/stable/nix_integration/#configuration

4e6 avatar Aug 14 '17 17:08 4e6