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:
parent
5d63995485
commit
0a87f7f706
|
@ -4261,10 +4261,10 @@ let
|
||||||
inherit fetchurl stdenv lib composableDerivation;
|
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 fetchurl stdenv pkgconfig;
|
||||||
inherit (xorg) libpthreadstubs;
|
inherit (xorg) libpthreadstubs;
|
||||||
};
|
});
|
||||||
|
|
||||||
libdvdcss = import ../development/libraries/libdvdcss {
|
libdvdcss = import ../development/libraries/libdvdcss {
|
||||||
inherit fetchurl stdenv;
|
inherit fetchurl stdenv;
|
||||||
|
|
Loading…
Reference in New Issue