diff options
-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}"; |