You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We want to use the pkgs/by-name convention for other package sets, e.g. NixOS/nixpkgs#299347.
Here's a rough idea how this could look like:
Package set config
Define some Nix config file to determine which package sets exist:
# pkgs/top-level/by-name-sets-config.nix{packageSets={toplevel={attrPath=[];path=./pkgs/by-name;shardLength=2;};mySet={# Any attrpath that will contain the attributesattrPath=["mySet"];path=./pkgs/mySet/by-name;# No shardingshardLength=null;};};}
Read the packages in Nix
Create a Nix file to automatically call all of them like the current by-name-overlay.nix:
Adjust this tool to read a by-name-sets-config.nix file for determining what it needs to check and how.
Reacted by Aleksana, Francesco Gazzetta, Peder Bergebakken Sundt, Philip Taron, John Ericson, Yohann Boniface, éclairevoyant, isabel, Priyanshu Tripathi, Aliaksandr Samatyia and 2 more
Yes, that was me. Any "+1" or "any update on this" or anything along those lines, is not helping the topic progress and is just (trying to) creating implicit pressure on the respective maintainers. Since we're all working voluntarily on these open source projects, I consider these kinds of comments abuse.
@wolfgangwalther thanks for the clarification, and sorry, it was not my intention. I was wondering whether there was active work on it, not to pressure anyone, only gathering information. And potentially help too, if that's possible!
Activity
infinisil commentedon Jun 7, 2024
Had a chat today with @DMills27, who's interested in contributing. I took some notes to break down this task:
by-name-overlay.nixbe synced with the toolby-name-overlay.nixinto nixpkgs-check-by-nameupdate-pinned-tool.shshould be updated to also fetch the Nix file from the release.config.json(given as a CLI arg) and change behavior depending on itby-name-overlay.nixread aconfig.jsonand change behavior depending on{ "shard_length": 2 }nixos-discourse commentedon Jun 11, 2024
This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/ci-will-soon-enforce-pkgs-by-name-for-new-packages/38098/8
fgaz commentedon Oct 4, 2024
+1! Here is another by-name package set: NixOS/nixpkgs#344716
Sigmanificient commentedon Oct 16, 2025
mdaniels5757 commentedon Oct 16, 2025
@Sigmanificient Nothing ready yet, but I have been working locally on this. Hopeful I can have something this weekend?
Sigmanificient commentedon Oct 16, 2025
that would be awesome 👀
my preivous was hidden as abuse? 🤔
wolfgangwalther commentedon Oct 17, 2025
Yes, that was me. Any "+1" or "any update on this" or anything along those lines, is not helping the topic progress and is just (trying to) creating implicit pressure on the respective maintainers. Since we're all working voluntarily on these open source projects, I consider these kinds of comments abuse.
Sigmanificient commentedon Oct 17, 2025
@wolfgangwalther thanks for the clarification, and sorry, it was not my intention. I was wondering whether there was active work on it, not to pressure anyone, only gathering information. And potentially help too, if that's possible!
quantenzitrone commentedon Nov 25, 2026
my pr is mostly finished and ready for feedback now