Specify some obvious platform sets

svn path=/nixpkgs/trunk/; revision=17205
This commit is contained in:
Michael Raskin 2009-09-16 15:12:24 +00:00
parent ebd78c51d0
commit a9dc68b1ea
4 changed files with 5 additions and 1 deletions

View File

@ -13,5 +13,6 @@ stdenv.mkDerivation {
license = "GPL"; license = "GPL";
homepage = http://www.riverbankcomputing.co.uk; homepage = http://www.riverbankcomputing.co.uk;
maintainers = [ lib.maintainers.sander ]; maintainers = [ lib.maintainers.sander ];
platforms = lib.platforms.mesaPlatforms;
}; };
} }

View File

@ -9,4 +9,5 @@ rec {
cygwin = ["i686-cygwin"]; cygwin = ["i686-cygwin"];
all = linux ++ darwin ++ cygwin ++ freebsd; all = linux ++ darwin ++ cygwin ++ freebsd;
allBut = platform: lists.filter (x: platform != x) all; allBut = platform: lists.filter (x: platform != x) all;
mesaPlatforms = linux ++ darwin ++ freebsd;
} }

View File

@ -29,5 +29,6 @@ stdenv.mkDerivation {
homepage = http://www.kde-apps.org/content/show.php/KDE+Partition+Manager?content=89595; # ? homepage = http://www.kde-apps.org/content/show.php/KDE+Partition+Manager?content=89595; # ?
license = "GPL"; license = "GPL";
maintainers = [args.lib.maintainers.marcweber]; maintainers = [args.lib.maintainers.marcweber];
platforms = args.lib.platforms.linux;
}; };
} }

View File

@ -3866,7 +3866,8 @@ let
mesaSupported = mesaSupported =
system == "i686-linux" || system == "i686-linux" ||
system == "x86_64-linux"; system == "x86_64-linux" ||
system == "i686-darwin";
mesa = import ../development/libraries/mesa { mesa = import ../development/libraries/mesa {
inherit fetchurl stdenv pkgconfig expat x11 xlibs libdrm; inherit fetchurl stdenv pkgconfig expat x11 xlibs libdrm;