Skip to content

How to include packages from pkgs? #419

Open
@miuirussia

Description

@miuirussia

I have project with stack.yaml:

resolver: lts-14.7
packages:
  - '.'
nix:
  packages: [
    bzip2
    icu
    libcxx
    lzma
    mysql80
    pcre
    pkg-config
    postgresql
    zlib
  ]

When I use stack-to-nix, it does not consider for the nix section of stack.yaml, so the build fails with mysql_config not found error. How I can add this packages to default.nix?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions