about summary refs log tree commit diff
path: root/pkgs/development
diff options
context:
space:
mode:
authorRob Vermaas <rob.vermaas@gmail.com>2010-03-01 12:32:40 +0000
committerRob Vermaas <rob.vermaas@gmail.com>2010-03-01 12:32:40 +0000
commit6dbcd591efc5712cc7fbdf62d66bf7db17164479 (patch)
tree3ae9f697b642710b5d56216c3fc83ca5190fa2b8 /pkgs/development
parentdfca3bc039dcddf6f2e19e6a710f4145663754d5 (diff)
downloadnixlib-6dbcd591efc5712cc7fbdf62d66bf7db17164479.tar
nixlib-6dbcd591efc5712cc7fbdf62d66bf7db17164479.tar.gz
nixlib-6dbcd591efc5712cc7fbdf62d66bf7db17164479.tar.bz2
nixlib-6dbcd591efc5712cc7fbdf62d66bf7db17164479.tar.lz
nixlib-6dbcd591efc5712cc7fbdf62d66bf7db17164479.tar.xz
nixlib-6dbcd591efc5712cc7fbdf62d66bf7db17164479.tar.zst
nixlib-6dbcd591efc5712cc7fbdf62d66bf7db17164479.zip
use mesaplatforms from lib
svn path=/nixpkgs/trunk/; revision=20302
Diffstat (limited to 'pkgs/development')
-rw-r--r--pkgs/development/libraries/mesa/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/mesa/default.nix b/pkgs/development/libraries/mesa/default.nix
index 558291f53273..cbe52ae0e370 100644
--- a/pkgs/development/libraries/mesa/default.nix
+++ b/pkgs/development/libraries/mesa/default.nix
@@ -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