Channel overlays while creating systems
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Lĩnh vực
- build-system, tooling
Hướng nghiên cứu
Start with the lib.mkFlake argument block in the issue and compare the channel-specific behavior with flake/default.nix lines 173-176, where the default nixpkgs overlay works. Then inspect snowfall-lib.flake.without-snowfall-options to trace whether channels.nixpkgs-stable.overlaysBuilder is preserved; done means the partner system can access the package namespace from nixpkgs-stable without the missing-attribute error.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Here's my case: I want to use nixpkgs-unstable channel on my main machine, but nixpkgs-stable on my partner's one due to stability reasons. Flake-utils-plus allows that and it's cool. However, I also want to access my own packages inside partner's configuration. The most straightforward way I thought of was like this (inside lib.mkFlake's argument):
package-namespace = "my";
channels.nixpkgs-stable.overlaysBuilder = lib.overlay.create-overlays-builder {
inherit package-namespace;
};
systems.hosts.my-partner's-machine.channelName = "nixpkgs-stable";
However, while evaluating the configuration nix shouts:
error: attribute 'my' missing
It feels like the channels.nixpkgs-stable parameter is being completely ignored. That's quite strange, since the same block of code works for default nixpkgs:
https://github.com/snowfallorg/lib/blob/92803a029b5314d4436a8d9311d8707b71d9f0b6/snowfall-lib/flake/default.nix#L173-L176
And I don't see channels parameter removed in snowfall-lib.flake.without-snowfall-options or anywhere else... Strange!
- Ngôn ngữ chính
- Nix
- Star
- 626
- Fork
- 65
- 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
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của snowfallorg/lib
-
Documentation: `/homes/${system}/${user}` vs `/homes/${system}/${user}@${host}` capabilitiesĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
snowfallorg/lib#159 · 3 reaction ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
snowfallorg/lib#192 · 3 reaction ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 48/100
snowfallorg/lib#190 · 1 bình luận ·
-
`_modules.args` is not respectedĐang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
snowfallorg/lib#188 · 1 bình luận ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
snowfallorg/lib#186 ·
Tất cả issue của snowfallorg/lib
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
atlassian-labs/mermaid-diagrams-viewer#188 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
gbourgeat/ddd-ts-kit#654 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area:ci kind:bug priority:p3 ready
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
paraview 6.2.0 uses Abseil 20260526 symbols but does not pin libabseil (undefined symbol with libabseil 20260817)Có thể đã có người làm @jschueller đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
-
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 88/100
digitalfabrik/integreat-chat#519 ·