pinentry: add tty variant

Closes #294698
This commit is contained in:
Sandro Jäckel 2024-03-11 11:09:15 +01:00
parent 4b302c132d
commit 9e44eb5dee
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5
3 changed files with 10 additions and 7 deletions

View File

@ -112,9 +112,10 @@ let
in
{
pinentry-curses = buildPinentry "curses" [ "curses" "tty" ];
pinentry-gtk2 = buildPinentry "gtk2" [ "gtk2" "curses" "tty" ];
pinentry-gnome3 = buildPinentry "gnome3" [ "gnome3" "curses" "tty" ];
pinentry-qt = buildPinentry "qt" [ "qt" "curses" "tty" ];
pinentry-emacs = buildPinentry "emacs" [ "emacs" "curses" "tty" ];
pinentry-gnome3 = buildPinentry "gnome3" [ "gnome3" "curses" "tty" ];
pinentry-gtk2 = buildPinentry "gtk2" [ "gtk2" "curses" "tty" ];
pinentry-qt = buildPinentry "qt" [ "qt" "curses" "tty" ];
pinentry-tty = buildPinentry "tty" [ "tty" ];
pinentry-all = buildPinentry "all" [ "curses" "tty" "gtk2" "gnome3" "qt" "emacs" ];
}

View File

@ -906,11 +906,12 @@ mapAliases ({
# soon: throw "'pinentry' has been removed. Pick an appropriate variant like 'pinentry-curses' or 'pinentry-gnome3'";
pinentry = pinentry-all // {
curses = pinentry-curses;
gtk2 = pinentry-gtk2;
gnome2 = pinentry-gnome3;
qt = pinentry-qt;
emacs = pinentry-emacs;
flavors = [ "curses" "gtk2" "gnome2" "qt" "emacs" ];
gnome2 = pinentry-gnome3;
gtk2 = pinentry-gtk2;
qt = pinentry-qt;
tty = pinentry-tty;
flavors = [ "curses" "emacs" "gnome2" "gtk2" "qt" "tty" ];
}; # added 2024-01-15
pinentry_curses = throw "'pinentry_curses' has been renamed to/replaced by 'pinentry-curses'"; # Converted to throw 2023-09-10
pinentry_emacs = throw "'pinentry_emacs' has been renamed to/replaced by 'pinentry-emacs'"; # Converted to throw 2023-09-10

View File

@ -11988,6 +11988,7 @@ with pkgs;
pinentry-gtk2
pinentry-gnome3
pinentry-qt
pinentry-tty
pinentry-all;
pinentry_mac = callPackage ../tools/security/pinentry/mac.nix {