use mesaplatforms from lib

svn path=/nixpkgs/trunk/; revision=20302
This commit is contained in:
Rob Vermaas
2010-03-01 12:32:40 +00:00
parent dfca3bc039
commit 6dbcd591ef
2 changed files with 2 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
{ stdenv, fetchurl, pkgconfig, x11, xlibs, libdrm, expat }:
if stdenv.system != "i686-linux" && stdenv.system != "x86_64-linux" && stdenv.system != "i686-darwin" && stdenv.system != "i686-freebsd" then
if ! stdenv.lib.lists.elem stdenv.system stdenv.lib.platforms.mesaPlatforms then
throw "unsupported platform for Mesa"
else