about summary refs log tree commit diff
path: root/pkgs/tools/filesystems/garage/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/filesystems/garage/default.nix')
-rw-r--r--pkgs/tools/filesystems/garage/default.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/tools/filesystems/garage/default.nix b/pkgs/tools/filesystems/garage/default.nix
index 2430536656dc..34f9da67ae64 100644
--- a/pkgs/tools/filesystems/garage/default.nix
+++ b/pkgs/tools/filesystems/garage/default.nix
@@ -35,7 +35,7 @@ let
 
     buildInputs = [
       openssl
-    ] ++ lib.optional stdenv.isDarwin Security;
+    ] ++ lib.optional stdenv.hostPlatform.isDarwin Security;
 
     checkInputs = [
       cacert
@@ -99,7 +99,7 @@ rec {
     hash = "sha256-2QGbR6YvMQeMxN3n1MMJ5qfBcEJ5hjXARUOfEn+m4Jc=";
     cargoHash = "sha256-1cGlJP/RRgxt3GGMN1c+7Y5lLHJyvHEnpLsR35R5FfI=";
     cargoPatches = [ ./update-time-0.8.patch ];
-    broken = stdenv.isDarwin;
+    broken = stdenv.hostPlatform.isDarwin;
   };
 
   garage_0_9_4 = generic {
@@ -107,14 +107,14 @@ rec {
     hash = "sha256-2ZaxenwaVGYYUjUJaGgnGpZNQprQV9+Jns2sXM6cowk=";
     cargoHash = "sha256-1Hrip4R5dr31czOcFMGW4ZvVfVwvdd7LkwukwNpS3o4=";
     cargoPatches = [ ./update-time.patch ];
-    broken = stdenv.isDarwin;
+    broken = stdenv.hostPlatform.isDarwin;
   };
 
   garage_1_0_1 = generic {
     version = "1.0.1";
     hash = "sha256-f6N2asycN04I6U5XQ5LEAqYu/v5jYZiFCxZ8YQ32XyM=";
     cargoHash = "sha256-jpc/vaygC5WNSkVA3P01mCRk9Nx/CUumE893tHWoe34=";
-    broken = stdenv.isDarwin;
+    broken = stdenv.hostPlatform.isDarwin;
   };
 
   garage_0_8 = garage_0_8_7;