commercialhaskell / commercialhaskell/stack

Make nix packages additive between stack.yaml and ~/.stack/config.yaml

Open
#4,401 1 comment 0 reactions 0 assignees View on GitHub
component: nix type: question
Dominant language
Haskell
Stars
4.1k
Forks
850
Avg merge
10h 37m
Merged PRs (30d)
4

Description

My understanding is that the nix packages from the local stack.yaml override the nix packages from ~/.stack/config.yaml. That means that if I need to add a project-specific nix package to stack.yaml, I also need to copy all of the nix packages from ~/.stack/config.yaml.

Is this an accurate understanding of the current behavior? If so, I would find it much more convenient if stack instead added the package lists together. Is this as easy as changing nixMonoidPackages in NixOptsMonoid from `First [Text]` to `[Text]`?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.