diff options
author | Jan Malakhovski <oxij@oxij.org> | 2018-11-18 07:48:01 +0000 |
---|---|---|
committer | Jan Malakhovski <oxij@oxij.org> | 2018-11-18 07:48:01 +0000 |
commit | 38a32d9ccf4fdfc081954f66cb51ef5ac6c89aac (patch) | |
tree | 5d7d9195cb190daaf72c2910b5ce6a48fe42e92f /pkgs/applications | |
parent | 617132eba723b79f69d1e8cc51f675f7cccd1452 (diff) | |
download | nixlib-38a32d9ccf4fdfc081954f66cb51ef5ac6c89aac.tar nixlib-38a32d9ccf4fdfc081954f66cb51ef5ac6c89aac.tar.gz nixlib-38a32d9ccf4fdfc081954f66cb51ef5ac6c89aac.tar.bz2 nixlib-38a32d9ccf4fdfc081954f66cb51ef5ac6c89aac.tar.lz nixlib-38a32d9ccf4fdfc081954f66cb51ef5ac6c89aac.tar.xz nixlib-38a32d9ccf4fdfc081954f66cb51ef5ac6c89aac.tar.zst nixlib-38a32d9ccf4fdfc081954f66cb51ef5ac6c89aac.zip |
redshift: introduce `withGeolocation` option
For simpler control.
Diffstat (limited to 'pkgs/applications')
-rw-r--r-- | pkgs/applications/misc/redshift/default.nix | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/pkgs/applications/misc/redshift/default.nix b/pkgs/applications/misc/redshift/default.nix index b8c49cb02a69..2bf4a011e59b 100644 --- a/pkgs/applications/misc/redshift/default.nix +++ b/pkgs/applications/misc/redshift/default.nix @@ -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}"; |