mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 12:11:28 +00:00
pinentry: Fix for darwin
This commit is contained in:
parent
ba4330a89e
commit
70a8bfbcd5
|
@ -6,7 +6,7 @@ let
|
|||
mkFlag = pfxTrue: pfxFalse: cond: name: "--${if cond then pfxTrue else pfxFalse}-${name}";
|
||||
mkEnable = mkFlag "enable" "disable";
|
||||
mkWith = mkFlag "with" "without";
|
||||
hasX = gtk != null || qt4 != null;
|
||||
hasX = gtk2 != null || qt4 != null;
|
||||
in
|
||||
with stdenv.lib;
|
||||
stdenv.mkDerivation rec {
|
||||
|
|
|
@ -2363,7 +2363,8 @@ let
|
|||
philter = callPackage ../tools/networking/philter { };
|
||||
|
||||
pinentry = callPackage ../tools/security/pinentry {
|
||||
qt4 = null;
|
||||
gtk2 = !stdenv.isDarwin;
|
||||
qt4 = stdenv.isDarwin;
|
||||
};
|
||||
|
||||
pius = callPackage ../tools/security/pius { };
|
||||
|
|
Loading…
Reference in a new issue