use mesaplatforms from lib
svn path=/nixpkgs/trunk/; revision=20302
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user