Skip to content

Commit

Permalink
mesa: don't build "svga" gallium driver on ARM
Browse files Browse the repository at this point in the history
  • Loading branch information
vcunat committed Oct 10, 2017
1 parent 994036d commit e9a1663
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pkgs/development/libraries/mesa/default.nix
Expand Up @@ -36,7 +36,7 @@ let
then ["nouveau" "freedreno" "vc4" "etnaviv" "imx"]
else if stdenv.isAarch64
then ["nouveau" "vc4" ]
else ["i915" "r300" "r600" "radeonsi" "nouveau"];
else ["svga" "i915" "r300" "r600" "radeonsi" "nouveau"];
defaultDriDrivers =
if (stdenv.isArm || stdenv.isAarch64)
then ["nouveau"]
Expand All @@ -51,8 +51,7 @@ let gallium_ = galliumDrivers; dri_ = driDrivers; vulkan_ = vulkanDrivers; in

let
galliumDrivers =
["svga"]
++ (if gallium_ == null
(if gallium_ == null
then defaultGalliumDrivers
else gallium_)
++ ["swrast"];
Expand Down

0 comments on commit e9a1663

Please sign in to comment.