···77 arch =
88 if stdenv.system == "i686-linux" then "i686"
99 else if stdenv.system == "x86_64-linux" || stdenv.system == "x86_64-darwin" then "x86-64"
1010+ else if stdenv.system == "armv7l-linux" then "armv7l"
1011 else throw "ImageMagick is not supported on this platform.";
1112in
1213
+6-2
pkgs/development/libraries/mesa/default.nix
···8686 # TODO: Figure out how to enable opencl without having a runtime dependency on clang
8787 "--disable-opencl"
88888989- "--with-gallium-drivers=svga,i915,ilo,r300,r600,radeonsi,nouveau,freedreno,swrast"
8989+ (if "armv7l-linux" == stdenv.system
9090+ then null
9191+ else "--with-gallium-drivers=svga,i915,ilo,r300,r600,radeonsi,nouveau,freedreno,swrast")
9092 "--enable-shared-glapi"
9193 "--enable-sysfs"
9294 "--enable-driglx-direct" # seems enabled anyway
9395 "--enable-glx-tls"
9494- "--with-dri-drivers=i915,i965,nouveau,radeon,r200,swrast"
9696+ (if "armv7l-linux" == stdenv.system
9797+ then "--with-dri-drivers="
9898+ else "--with-dri-drivers=i915,i965,nouveau,radeon,r200,swrast")
9599 "--with-egl-platforms=x11,wayland,drm"
9610097101 "--enable-gallium-llvm"