Hacker News new | ask | show | jobs
by pxc 1419 days ago
Depending on your specific needs, the channelsConfig (modify arguments passed to Nixpkgs) and overlay tooling in flake-utils-plus may be adequate: https://github.com/gytis-ivaskevicius/flake-utils-plus/tree/...

You can take a package from a flake input and call it with other args in your overlays, for example

1 comments

It's nice that there is a workaround, but passing build options is not something that should require a library. There should be a well documented standard way to do it.
Agreed. For most early adopters of flakes, flake-utils-plus is the de facto standard solution.

It would be good to see something like it built into Nix or Nixpkgs and blessed in the official docs, as the flakes feature approaches completion.

Flake-utils, flake-utils-plus, https://flake.parts/, https://github.com/divnix/std/ and others :D