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
This commit is contained in:
Peter Simons 2010-04-29 14:57:23 +00:00
parent 5d63995485
commit 0a87f7f706

View File

@ -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;