[feat proposal] Propagate channels to parts of configuraion (modules, systems, etc.)?
@jakehamilton is already working on this.
Since Feb 6, 2024.
- Dominant language
- Nix
- Stars
- 628
- Forks
- 64
- PR merge metrics
- No merged PRs in 30d
Description
It seems like a good idea to be able to access distinct channels in e.g. modules. Let's say we want some module to work with specific version of pkgs regardless of the system it's being evaluated for. What I have to do now is
let
pkgs' = inputs.specific-nixpkgs-version.legacyPackages.${system}.pkgs;
in
... # use pkgs'
I feel it's just redundant work since we already declare different channels in our flake. And it'll be worse if we want some specific overlays inside the channel.
Maybe it's a silly request and it will break something if implemented straightforwardly. Or maybe it's already implemented and I'm blind. Your thoughts?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.