about summary refs log tree commit diff
path: root/pkgs/tools/cd-dvd/cdrtools/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/cd-dvd/cdrtools/default.nix')
-rw-r--r--pkgs/tools/cd-dvd/cdrtools/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/cd-dvd/cdrtools/default.nix b/pkgs/tools/cd-dvd/cdrtools/default.nix
index 053aebecaf41..d264a0f8bdb3 100644
--- a/pkgs/tools/cd-dvd/cdrtools/default.nix
+++ b/pkgs/tools/cd-dvd/cdrtools/default.nix
@@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
   };
 
   nativeBuildInputs = [ m4 ];
-  buildInputs = if stdenv.isDarwin then [ Carbon IOKit ] else [ acl libcap ];
+  buildInputs = if stdenv.hostPlatform.isDarwin then [ Carbon IOKit ] else [ acl libcap ];
 
   postPatch = ''
     sed "/\.mk3/d" -i libschily/Targets.man