From 3e5a0c0034ab68aed388796b2918d50e9d4cee62 Mon Sep 17 00:00:00 2001 From: "William A. Kennington III" Date: Mon, 11 May 2015 14:59:05 -0700 Subject: [PATCH] pulseaudio: Fix logic --- pkgs/servers/pulseaudio/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/servers/pulseaudio/default.nix b/pkgs/servers/pulseaudio/default.nix index df5a26e42c11..1161d73c28f3 100644 --- a/pkgs/servers/pulseaudio/default.nix +++ b/pkgs/servers/pulseaudio/default.nix @@ -39,7 +39,7 @@ let optAlsaLib = if libOnly then null else shouldUsePkg alsaLib; optEsound = if libOnly then null else shouldUsePkg esound; optGlib = if libOnly then null else shouldUsePkg glib; - optGtk3 = if libOnly || hasXlibs then null else shouldUsePkg gtk3; + optGtk3 = if libOnly || !hasXlibs then null else shouldUsePkg gtk3; optGconf = if libOnly then null else shouldUsePkg gconf; optAvahi = if libOnly then null else shouldUsePkg avahi; optLibjack2 = if libOnly then null else shouldUsePkg libjack2;