-
-
Notifications
You must be signed in to change notification settings - Fork 15.4k
specialisation: replace nesting with named configurations #81848
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
Conversation
a1f2cc7
to
327a462
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Named configurations would be great! I currently do something like this with system.extraSystemBuilderCmds = "echo NAME > $out/child-description"
, but this is way nicer.
Rebase? I would totally finish this or do whatever to get it merged. |
conflict is this #81241 |
327a462
to
2bda47e
Compare
@GrahamcOfBorg test specialisation |
It seems we have conflicting spellings for specialization or specialisation https://ell.stackexchange.com/questions/129226/what-is-the-difference-between-specialization-and-specialisation. When adding to the note I found myself tying specialization. |
2bda47e
to
b2ceb48
Compare
@GrahamcOfBorg test specialisation (turns out the test was actually spelled the other way 😁 ) |
@GrahamcOfBorg test acme caddy nginx-etag nginx |
Co-authored-by: worldofpeace <worldofpeace@protonmail.ch>
b2ceb48
to
ec2d28e
Compare
@GrahamcOfBorg test specialisation |
💖 Love this. |
I'm not sure how feasible this is to implement, but it'd be very useful if |
nested configurations are pretty neat! But then they do this weird thing where they just get enumerated ... and that is super strange. I think adding specialisation with named configurations makes this feature very powerful and accessible.
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)