diff options
author | Rob Vermaas <rob.vermaas@gmail.com> | 2010-03-01 12:32:40 +0000 |
---|---|---|
committer | Rob Vermaas <rob.vermaas@gmail.com> | 2010-03-01 12:32:40 +0000 |
commit | 6dbcd591efc5712cc7fbdf62d66bf7db17164479 (patch) | |
tree | 3ae9f697b642710b5d56216c3fc83ca5190fa2b8 /pkgs/development/libraries/mesa | |
parent | dfca3bc039dcddf6f2e19e6a710f4145663754d5 (diff) |
use mesaplatforms from lib
svn path=/nixpkgs/trunk/; revision=20302
Diffstat (limited to 'pkgs/development/libraries/mesa')
-rw-r--r-- | pkgs/development/libraries/mesa/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/mesa/default.nix b/pkgs/development/libraries/mesa/default.nix index 558291f53273f..cbe52ae0e370c 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 |