summary refs log tree commit diff
path: root/pkgs/tools
diff options
context:
space:
mode:
authorDomen Kožar <domen@dev.si>2015-03-26 10:07:05 +0100
committerDomen Kožar <domen@dev.si>2015-03-26 10:07:05 +0100
commit8feda47beee4ce96b009e9c855cfe849811cbcb3 (patch)
tree6684f97c2d903dbc3984a48e3397b9d15bdad8f3 /pkgs/tools
parent61e573fcb62e1ae6b8097afec0d47d7b2677f1fd (diff)
downloadnixlib-8feda47beee4ce96b009e9c855cfe849811cbcb3.tar
nixlib-8feda47beee4ce96b009e9c855cfe849811cbcb3.tar.gz
nixlib-8feda47beee4ce96b009e9c855cfe849811cbcb3.tar.bz2
nixlib-8feda47beee4ce96b009e9c855cfe849811cbcb3.tar.lz
nixlib-8feda47beee4ce96b009e9c855cfe849811cbcb3.tar.xz
nixlib-8feda47beee4ce96b009e9c855cfe849811cbcb3.tar.zst
nixlib-8feda47beee4ce96b009e9c855cfe849811cbcb3.zip
pinentry: fix build /cc wkennington
Diffstat (limited to 'pkgs/tools')
-rw-r--r--pkgs/tools/security/pinentry/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/tools/security/pinentry/default.nix b/pkgs/tools/security/pinentry/default.nix
index dd17bdc4af74..632edaedd2ef 100644
--- a/pkgs/tools/security/pinentry/default.nix
+++ b/pkgs/tools/security/pinentry/default.nix
@@ -21,6 +21,7 @@ stdenv.mkDerivation rec {
 
   configureFlags = [
     (mkWith   (libcap != null)  "libcap")
+    (mkWith   (hasX)            "x")
     (mkEnable (ncurses != null) "pinentry-curses")
     (mkEnable true              "pinentry-tty")
     (mkEnable (gtk2 != null)    "pinentry-gtk2")
@@ -33,7 +34,7 @@ stdenv.mkDerivation rec {
     homepage = "http://gnupg.org/aegypten2/";
     description = "GnuPG's interface to passphrase input";
     license = stdenv.lib.licenses.gpl2Plus;
-
+    platforms = stdenv.lib.platforms.all;
     longDescription = ''
       Pinentry provides a console and a GTK+ GUI that allows users to
       enter a passphrase when `gpg' or `gpg2' is run and needs it.