about summary refs log tree commit diff
path: root/pkgs/applications/misc/redshift/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/misc/redshift/default.nix')
-rw-r--r--pkgs/applications/misc/redshift/default.nix14
1 files changed, 7 insertions, 7 deletions
diff --git a/pkgs/applications/misc/redshift/default.nix b/pkgs/applications/misc/redshift/default.nix
index 41a21e8f49ed..6451fa2c7acf 100644
--- a/pkgs/applications/misc/redshift/default.nix
+++ b/pkgs/applications/misc/redshift/default.nix
@@ -3,15 +3,15 @@
 , libtool, pkg-config, wrapGAppsHook3, wrapPython, gobject-introspection, wayland-scanner
 , gtk3, python, pygobject3, pyxdg
 
-, withQuartz ? stdenv.isDarwin, ApplicationServices
-, withRandr ? stdenv.isLinux, libxcb
-, withDrm ? stdenv.isLinux, libdrm
-, withVidmode ? stdenv.isLinux, libXxf86vm
+, withQuartz ? stdenv.hostPlatform.isDarwin, ApplicationServices
+, withRandr ? stdenv.hostPlatform.isLinux, libxcb
+, withDrm ? stdenv.hostPlatform.isLinux, libdrm
+, withVidmode ? stdenv.hostPlatform.isLinux, libXxf86vm
 
 , withGeolocation ? true
-, withCoreLocation ? withGeolocation && stdenv.isDarwin, CoreLocation, Foundation, Cocoa
-, withGeoclue ? withGeolocation && stdenv.isLinux, geoclue
-, withAppIndicator ? stdenv.isLinux, libappindicator, libayatana-appindicator
+, withCoreLocation ? withGeolocation && stdenv.hostPlatform.isDarwin, CoreLocation, Foundation, Cocoa
+, withGeoclue ? withGeolocation && stdenv.hostPlatform.isLinux, geoclue
+, withAppIndicator ? stdenv.hostPlatform.isLinux, libappindicator, libayatana-appindicator
 }:
 
 let