about summary refs log tree commit diff
path: root/pkgs/development/libraries/geoclue/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/geoclue/default.nix')
-rw-r--r--pkgs/development/libraries/geoclue/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/development/libraries/geoclue/default.nix b/pkgs/development/libraries/geoclue/default.nix
index 3c6a40eeb5cb..84fa20f8efad 100644
--- a/pkgs/development/libraries/geoclue/default.nix
+++ b/pkgs/development/libraries/geoclue/default.nix
@@ -66,7 +66,7 @@ stdenv.mkDerivation rec {
     avahi
   ] ++ lib.optionals withDemoAgent [
     libnotify gdk-pixbuf
-  ] ++ lib.optionals (!stdenv.isDarwin) [
+  ] ++ lib.optionals (!stdenv.hostPlatform.isDarwin) [
     modemmanager
   ];
 
@@ -83,7 +83,7 @@ stdenv.mkDerivation rec {
     "-Dmozilla-api-key=5c28d1f4-9511-47ff-b11a-2bef80fc177c"
     "-Ddbus-srv-user=geoclue"
     "-Ddbus-sys-dir=${placeholder "out"}/share/dbus-1/system.d"
-  ] ++ lib.optionals stdenv.isDarwin [
+  ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
     "-D3g-source=false"
     "-Dcdma-source=false"
     "-Dmodem-gps-source=false"
@@ -96,7 +96,7 @@ stdenv.mkDerivation rec {
   '';
 
   meta = with lib; {
-    broken = stdenv.isDarwin && withDemoAgent;
+    broken = stdenv.hostPlatform.isDarwin && withDemoAgent;
     description = "Geolocation framework and some data providers";
     homepage = "https://gitlab.freedesktop.org/geoclue/geoclue/wikis/home";
     maintainers = with maintainers; [ raskin mimame ];