Skip to content
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

gpg-agent: don't set a default for pinentry #4805

Merged
merged 1 commit into from
Dec 27, 2023
Merged

gpg-agent: don't set a default for pinentry #4805

merged 1 commit into from
Dec 27, 2023

Conversation

SuperSandro2000
Copy link
Member

@SuperSandro2000 SuperSandro2000 commented Dec 24, 2023

NixOS stopped building gtk2 pinentry by default in NixOS/nixpkgs#270266 and it does not appear to me that there is a reasonable other default.

Description

Checklist

  • Change is backwards compatible.

  • Code formatted with ./format.

  • Code tested through nix-shell --pure tests -A run.all or nix develop --ignore-environment .#all using Flakes.

  • Test cases updated/added. See example.

  • Commit messages are formatted like

    {component}: {description}
    
    {long description}
    

    See CONTRIBUTING for more information and recent commit messages for examples.

  • If this PR adds a new module

    • Added myself as module maintainer. See example.

Maintainer CC

@cloudlena
Copy link
Contributor

cloudlena commented Dec 24, 2023

Couldn't using "qt" as the new default also be an option?
For me (using Hyprland), that works well. I think, it might be more user-friendly than not having a default of null.

cloudlena added a commit to cloudlena/nixfiles that referenced this pull request Dec 24, 2023
@SuperSandro2000
Copy link
Member Author

Couldn't using "qt" as the new default also be an option?

I have no idea. I am using kde, so for me this will obviously work but I have no clue about other systems.

cloudlena added a commit to cloudlena/nixfiles that referenced this pull request Dec 25, 2023
cloudlena added a commit to cloudlena/nixfiles that referenced this pull request Dec 26, 2023
cloudlena added a commit to cloudlena/nixfiles that referenced this pull request Dec 27, 2023
NixOS stopped building gtk2 pinentry by default in
NixOS/nixpkgs#270266 and there does not appear
to be a reasonable other default.
cloudlena added a commit to cloudlena/nixfiles that referenced this pull request Dec 27, 2023
cloudlena added a commit to cloudlena/nixfiles that referenced this pull request Dec 27, 2023
@rycee rycee merged commit 4585445 into nix-community:master Dec 27, 2023
2 of 3 checks passed
cloudlena added a commit to cloudlena/nixfiles that referenced this pull request Dec 27, 2023
@rycee
Copy link
Member

rycee commented Dec 27, 2023

Thanks! Merged to master now 🙂

I wonder if perhaps it wouldn't be a good idea to simply remove the nullOr option and leave the option unset so that users are forced to set this explicitly? I can create a PR for that if nobody can think of anything obviously bad about this (beside causing some people's configurations to stop building without adding the explicit option).

@SuperSandro2000 SuperSandro2000 deleted the patch-2 branch December 28, 2023 01:45
@nixos-discourse
Copy link

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/pinentry-gtk2-contains-only-pinentry-curses/37696/5

ambroisie added a commit to ambroisie/home-manager that referenced this pull request Jan 14, 2024
This was missed in [1], but we should remove the default for the same
reason...

[1]: nix-community#4805
ambroisie added a commit to ambroisie/home-manager that referenced this pull request Jan 14, 2024
This was missed in [1], but we should change the default for the same
reason...

[1]: nix-community#4805
@bphenriques
Copy link

Is there any official guide on how to upgrade the existing home-manager setups? I use both NixOS (X11 Plasma) and MacOS and the original setup was compatible with both (as I do not do anything system wide in MacOS).

In my case, I was able to sign my commits under both systems but now I cannot. From what I read the gtk2 is very much deprecated.

(This threw me off while I was upgrading some packages - the price to pay for following nix-unstable 😝 )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants