mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 18:33:00 +00:00
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;
|
||||
};
|
||||
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user