wpa_supplicant: rename withDbus to dbusSupport

wpa_supplicant/default.nix currently uses the option "withDbus" to
decide whether or not to compile with dbus support.  It is the only
nix package that uses this choice of name.  Most other packages use
dbusSupport instead.

Let's rename this option to dbusSupport, so that users desiring to
compile without dbus can set the option once in nixpkgs.conf and have
all packages understand that directive.
This commit is contained in:
Adam Joseph 2022-03-12 07:27:20 -08:00
parent fcc7311dc7
commit a6a823834b

View file

@ -1,6 +1,6 @@
{ lib, stdenv, fetchurl, openssl, pkg-config, libnl
, nixosTests, wpa_supplicant_gui
, withDbus ? true, dbus
, dbusSupport ? true, dbus
, withReadline ? true, readline
, withPcsclite ? true, pcsclite
, readOnlyModeSSIDs ? false
@ -68,7 +68,7 @@ stdenv.mkDerivation rec {
CONFIG_EAP_AKA=y
CONFIG_EAP_AKA_PRIME=y
CONFIG_PCSC=y
'' + optionalString withDbus ''
'' + optionalString dbusSupport ''
CONFIG_CTRL_IFACE_DBUS=y
CONFIG_CTRL_IFACE_DBUS_NEW=y
CONFIG_CTRL_IFACE_DBUS_INTRO=y
@ -93,7 +93,7 @@ stdenv.mkDerivation rec {
'';
buildInputs = [ openssl libnl ]
++ optional withDbus dbus
++ optional dbusSupport dbus
++ optional withReadline readline
++ optional withPcsclite pcsclite;