Hi all,

When writing packages with optional dependencies and other config
options, I can choose to get these options through an optional
argument to the function, or to use getConfig to fetch them from
nixpkgs.config.

Setting them by either nixpkgs.config or by using packageOverrides to
set the extra arguments/

Is there a preferred way? Or does it depend on the situation?
Situations thus far:
- optional dependency
- optional configure flags
- optional patches

Thanks,
Mathijs
_______________________________________________
nix-dev mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to