about summary refs log tree commit diff
path: root/pkgs/development/libraries/libcdio-paranoia/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/libcdio-paranoia/default.nix')
-rw-r--r--pkgs/development/libraries/libcdio-paranoia/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/development/libraries/libcdio-paranoia/default.nix b/pkgs/development/libraries/libcdio-paranoia/default.nix
index 5f01756ecac0..93b3cb91ffc9 100644
--- a/pkgs/development/libraries/libcdio-paranoia/default.nix
+++ b/pkgs/development/libraries/libcdio-paranoia/default.nix
@@ -27,15 +27,15 @@ stdenv.mkDerivation rec {
   ];
   buildInputs =
     [ libcdio ]
-    ++ lib.optionals stdenv.isDarwin [
+    ++ lib.optionals stdenv.hostPlatform.isDarwin [
       libiconv
       IOKit
       DiskArbitration
     ];
 
-  propagatedBuildInputs = lib.optional stdenv.isDarwin DiskArbitration;
+  propagatedBuildInputs = lib.optional stdenv.hostPlatform.isDarwin DiskArbitration;
 
-  configureFlags = lib.optionals stdenv.isDarwin [ "--disable-ld-version-script" ];
+  configureFlags = lib.optionals stdenv.hostPlatform.isDarwin [ "--disable-ld-version-script" ];
 
   meta = with lib; {
     description = "CD paranoia on top of libcdio";