From 0a87f7f7067ce258e47b050dd3a5b41e98ef81d7 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 29 Apr 2010 14:57:23 +0000 Subject: [PATCH] pkgs/top-level/all-packages.nix: disable libdrm on Darwin platforms libdrm doesn't build on Darwin and, according to the Xorg developers, isn't supposed to be built. This change fixes the build of haskell-platform-ghc6.12.2-2010.1.0.0 on Darwin. svn path=/nixpkgs/trunk/; revision=21432 --- pkgs/top-level/all-packages.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 12ad7236ce21..63ef03466fec 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -4261,10 +4261,10 @@ let inherit fetchurl stdenv lib composableDerivation; }; - libdrm = import ../development/libraries/libdrm { + libdrm = if stdenv.isDarwin then null else (import ../development/libraries/libdrm { inherit fetchurl stdenv pkgconfig; inherit (xorg) libpthreadstubs; - }; + }); libdvdcss = import ../development/libraries/libdvdcss { inherit fetchurl stdenv;