about summary refs log tree commit diff
path: root/pkgs/tools/backup/bacula/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/backup/bacula/default.nix')
-rw-r--r--pkgs/tools/backup/bacula/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/tools/backup/bacula/default.nix b/pkgs/tools/backup/bacula/default.nix
index 386775960a73..d21336813008 100644
--- a/pkgs/tools/backup/bacula/default.nix
+++ b/pkgs/tools/backup/bacula/default.nix
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
   };
 
   # libtool.m4 only matches macOS 10.*
-  postPatch = lib.optionalString (stdenv.isDarwin && stdenv.isAarch64) ''
+  postPatch = lib.optionalString (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) ''
     substituteInPlace configure \
       --replace "10.*)" "*)"
   '';
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
       IOKit
     ]
     # acl relies on attr, which I can't get to build on darwin
-    ++ lib.optional (!stdenv.isDarwin) acl;
+    ++ lib.optional (!stdenv.hostPlatform.isDarwin) acl;
 
   configureFlags = [
     "--with-sqlite3=${sqlite.dev}"