about summary refs log tree commit diff
path: root/pkgs/by-name/gu/guile-avahi/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/gu/guile-avahi/package.nix')
-rw-r--r--pkgs/by-name/gu/guile-avahi/package.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/by-name/gu/guile-avahi/package.nix b/pkgs/by-name/gu/guile-avahi/package.nix
index c75d4ee0f079..3a8c9be42998 100644
--- a/pkgs/by-name/gu/guile-avahi/package.nix
+++ b/pkgs/by-name/gu/guile-avahi/package.nix
@@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
 
   doCheck = true;
   makeFlags = [ "GUILE_AUTO_COMPILE=0" ];
-  env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isDarwin "-Wno-unused-function";
+  env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.hostPlatform.isDarwin "-Wno-unused-function";
 
   meta = with lib; {
     description = "Bindings to Avahi for GNU Guile";