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
pinentry: remove multiple outputs #133542
pinentry: remove multiple outputs #133542
Conversation
e9aa070
to
010aa08
Compare
Result of 10 packages built successfully:
6 suggestions:
Result of 9 packages built successfully:
1 suggestion:
|
Looks like a sensible approach to me. I think we can leave out the compatibility hack if we also have a corresponding home-manager PR. |
010aa08
to
a6fe712
Compare
Thanks for the feedback. I've updated the PR and resolved the conflict with master (the qt variant does not build on aarch64-darwin). I will open a home-manager PR later and remove the alias. |
a6fe712
to
dbfee4b
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.
Apart from the two comments below this seems reasonable to me.
@fpletz may I ask what's the status here? :) |
This comment was marked as outdated.
This comment was marked as outdated.
@ofborg eval |
2520c2e
to
a270c43
Compare
I've just noticed that we also need to add a pinentry to plasma6 and I just did that. |
Here goes nothing 🎉 |
This follows upstream's module change [1], which allows setting any package as a pinentry program. [1]: NixOS/nixpkgs#133542
Following some upstream changes [1], it's now possible to use a simplified package type for the option. [1]: NixOS/nixpkgs#133542
Following some upstream changes [1], it's now possible to use a simplified package type for the option. [1]: NixOS/nixpkgs#133542
This follows upstream's module change [1], which allows setting any package as a pinentry program. [1]: NixOS/nixpkgs#133542
Following some upstream changes [1], it's now possible to use a simplified package type for the option. [1]: NixOS/nixpkgs#133542
This broke eval:
|
Fix in #294771. |
This follows upstream's module change [1], which allows setting any package as a pinentry program. [1]: NixOS/nixpkgs#133542
Following some upstream changes [1], it's now possible to use a simplified package type for the option. [1]: NixOS/nixpkgs#133542
Following some upstream changes [1], it's now possible to use a simplified package type for the option. [1]: NixOS/nixpkgs#133542
This follows upstream's module change [1], which allows setting any package as a pinentry program. [1]: NixOS/nixpkgs#133542
Following some upstream changes [1], it's now possible to use a simplified package type for the option. [1]: NixOS/nixpkgs#133542
Following some upstream changes [1], it's now possible to use a simplified package type for the option. [1]: NixOS/nixpkgs#133542
This follows upstream's module change [1], which allows setting any package as a pinentry program. [1]: NixOS/nixpkgs#133542
Following some upstream changes [1], it's now possible to use a simplified package type for the option. [1]: NixOS/nixpkgs#133542
…ibility NixOS/nixpkgs#133542 removed pinentryFlavor but it's still needed on NixOS 23.11 since the new option wasn't added in advance of removing the old one.
Motivation for this change
Previously
pinentry
was a package with multiple outputs. This caused lots of rebuilds and always needs the dependencies of all flavors to build. Fixes #133156 #124753.This PR refactors the different pinentry flavors into separate package builds and keeps the old interface for compatibility. As the attribute nameThe old multiple outputs based interface is aliased for compatibility since this was not only used in the gnupg NixOS module but also the corresponding home-manager module.pinentry
would be misleading now it was renamed topinentryFlavors
.Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)