From 7d651a8ec322ede5e41e1a09db315a64d1ef987f Mon Sep 17 00:00:00 2001
From: Peter Simons <simons@cryp.to>
Date: Thu, 4 Aug 2011 15:59:21 +0000
Subject: [PATCH] syslog-ng: the build doesn't find "glib" on platforms other
 than Linux

Glib is a buildInput, and it does work fine on Linux, but on other
platforms Hydra reports a build failure:

 | checking for GLIB - version >= 2.10.1... no
 | *** Could not run GLIB test program, checking why...
 | *** The test program failed to compile or link. See the file config.log for the
 | *** exact error that occured. This usually means GLIB is incorrectly installed.
 | configure: error: Cannot find GLIB version >= 2.10.1: is pkg-config in path?

I can't debug that problem, so opted to just disable those builds that
fail anyway.

svn path=/nixpkgs/trunk/; revision=28156
---
 pkgs/tools/system/syslog-ng/default.nix | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pkgs/tools/system/syslog-ng/default.nix b/pkgs/tools/system/syslog-ng/default.nix
index 584da1559b8e..f5ee2f1bcbba 100644
--- a/pkgs/tools/system/syslog-ng/default.nix
+++ b/pkgs/tools/system/syslog-ng/default.nix
@@ -16,7 +16,7 @@ stdenv.mkDerivation {
     description = "Next-generation syslogd with advanced networking and filtering capabilities.";
     license = "GPLv2";
 
-    platforms = stdenv.lib.platforms.unix;
+    platforms = stdenv.lib.platforms.linux;
     maintainers = [ stdenv.lib.maintainers.simons ];
   };
 }