New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WIP: pythonPackages: normalize attribute names, fixes #49691 #96586
base: master
Are you sure you want to change the base?
Conversation
also, it's common to prefix with "_" if the package name starts with a number. maybe we could do |
Got a working regex now. I am by no means a regexpert so I welcome any improvements. Right now, the following names are allowed:
Not allowed are:
It means variants need to be moved away from the top-level, to the |
We prefer to have normalized attribute names as these are predictable. This is also useful for generators such as mach-nix and the home-manager plugins generator.
I marked this as stale due to inactivity. → More info |
Motivation for this change
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)To do