about summary refs log tree commit diff
path: root/pkgs/applications/audio/cd-discid/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/audio/cd-discid/default.nix')
-rw-r--r--pkgs/applications/audio/cd-discid/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/audio/cd-discid/default.nix b/pkgs/applications/audio/cd-discid/default.nix
index e13a64e4bd83..a30ebc8fbe39 100644
--- a/pkgs/applications/audio/cd-discid/default.nix
+++ b/pkgs/applications/audio/cd-discid/default.nix
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
   installFlags = [ "PREFIX=$(out)" "INSTALL=install" ];
 
   buildInputs = []
-    ++ lib.optional stdenv.isDarwin IOKit;
+    ++ lib.optional stdenv.hostPlatform.isDarwin IOKit;
 
   meta = with lib; {
     homepage = "http://linukz.org/cd-discid.shtml";