Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

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

Đang mở
#41 4 bình luận 0 reaction 1 người được giao Xem trên GitHub

@jakehamilton đang làm issue này rồi.

Từ ngày 6/2/2024.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

enhancement

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?

Ngôn ngữ chính
Nix
Star
628
Fork
66
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của snowfallorg/lib

Tất cả issue của snowfallorg/lib

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.