snowfallorg / snowfallorg/lib

[feat proposal] Propagate channels to parts of configuraion (modules, systems, etc.)?

Open
#41 4 comments 0 reactions 1 assignee View on GitHub

@jakehamilton is already working on this.

Since Feb 6, 2024.

enhancement
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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.