redshift: introduce withGeolocation
option
For simpler control.
This commit is contained in:
parent
617132eba7
commit
38a32d9ccf
@ -2,11 +2,14 @@
|
||||
, libtool, pkgconfig, wrapGAppsHook, wrapPython, gobjectIntrospection
|
||||
, gtk3, python, pygobject3, hicolor-icon-theme, pyxdg
|
||||
|
||||
, withCoreLocation ? stdenv.isDarwin, CoreLocation, Foundation, Cocoa
|
||||
, withQuartz ? stdenv.isDarwin, ApplicationServices
|
||||
, withRandr ? stdenv.isLinux, libxcb
|
||||
, withDrm ? stdenv.isLinux, libdrm
|
||||
, withGeoclue ? stdenv.isLinux, geoclue }:
|
||||
|
||||
, withGeolocation ? true
|
||||
, withCoreLocation ? withGeolocation && stdenv.isDarwin, CoreLocation, Foundation, Cocoa
|
||||
, withGeoclue ? withGeolocation && stdenv.isLinux, geoclue
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "redshift-${version}";
|
||||
|
Loading…
Reference in New Issue
Block a user