Merge pull request #34982 from tadfisher/pinentry-emacs
pinentry: add option to enable pinentry-emacs
This commit is contained in:
commit
35ebf5bfd9
2 changed files with 7 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
|||
{ fetchurl, fetchpatch, stdenv, lib, pkgconfig
|
||||
, libgpgerror, libassuan, libcap ? null, libsecret ? null, ncurses ? null, gtk2 ? null, gcr ? null, qt ? null
|
||||
, enableEmacs ? false
|
||||
}:
|
||||
|
||||
let
|
||||
|
@ -33,6 +34,7 @@ stdenv.mkDerivation rec {
|
|||
(mkEnable (libsecret != null) "libsecret")
|
||||
(mkEnable (ncurses != null) "pinentry-curses")
|
||||
(mkEnable true "pinentry-tty")
|
||||
(mkEnable enableEmacs "pinentry-emacs")
|
||||
(mkEnable (gtk2 != null) "pinentry-gtk2")
|
||||
(mkEnable (gcr != null) "pinentry-gnome3")
|
||||
(mkEnable (qt != null) "pinentry-qt")
|
||||
|
|
|
@ -4242,6 +4242,10 @@ with pkgs;
|
|||
gtk2 = null;
|
||||
};
|
||||
|
||||
pinentry_emacs = pinentry_ncurses.override {
|
||||
enableEmacs = true;
|
||||
};
|
||||
|
||||
pinentry_gnome = pinentry_ncurses.override {
|
||||
gcr = gnome3.gcr;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue