about summary refs log tree commit diff
path: root/pkgs/tools/backup/dar/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/backup/dar/default.nix')
-rw-r--r--pkgs/tools/backup/dar/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/tools/backup/dar/default.nix b/pkgs/tools/backup/dar/default.nix
index 56a5a9313911..d3424c4ac0c8 100644
--- a/pkgs/tools/backup/dar/default.nix
+++ b/pkgs/tools/backup/dar/default.nix
@@ -48,10 +48,10 @@ stdenv.mkDerivation rec {
     xz
     zlib
     zstd
-  ] ++ lib.optionals stdenv.isLinux [
+  ] ++ lib.optionals stdenv.hostPlatform.isLinux [
     attr
     e2fsprogs
-  ] ++ lib.optionals stdenv.isDarwin [
+  ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
     CoreFoundation
   ];