blueman: move defaults to package file

This commit is contained in:
Jan Malakhovski 2019-02-03 15:33:19 +00:00
parent be40fe7ae5
commit 1b2c28b0ee
2 changed files with 3 additions and 5 deletions

View File

@ -1,7 +1,7 @@
{ stdenv, lib, fetchurl, intltool, pkgconfig, python3Packages, bluez, gtk3
{ config, stdenv, lib, fetchurl, intltool, pkgconfig, python3Packages, bluez, gtk3
, obex_data_server, xdg_utils, libnotify, dnsmasq, dhcp
, hicolor-icon-theme, librsvg, wrapGAppsHook, gobject-introspection
, withPulseAudio ? true, libpulseaudio }:
, withPulseAudio ? config.pulseaudio or stdenv.isLinux, libpulseaudio }:
let
pythonPackages = python3Packages;

View File

@ -1762,9 +1762,7 @@ in
inherit (python27Packages) pillow;
};
blueman = callPackage ../tools/bluetooth/blueman {
withPulseAudio = config.pulseaudio or true;
};
blueman = callPackage ../tools/bluetooth/blueman { };
bmrsa = callPackage ../tools/security/bmrsa/11.nix { };