Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

mesa: Use symlinks instead of hard links for the DRI/vdpau drivers

This reduces the size of the drivers output from 193 MiB to 44 MiB.

(cherry picked from commit 1a52fdc3c6a81b0b652ea21e59e7dd705fef5f2e)

authored by

Eelco Dolstra and committed by
Vladimír Čunát
55b2e62c f199be0f

+73
+1
pkgs/development/libraries/mesa/default.nix
··· 45 46 patches = [ 47 ./glx_ro_text_segm.patch # fix for grsecurity/PaX 48 # TODO: revive ./dricore-gallium.patch when it gets ported (from Ubuntu), 49 # as it saved ~35 MB in $drivers; watch https://launchpad.net/ubuntu/+source/mesa/+changelog 50 ] ++ optional stdenv.isLinux
··· 45 46 patches = [ 47 ./glx_ro_text_segm.patch # fix for grsecurity/PaX 48 + ./symlink-drivers.patch 49 # TODO: revive ./dricore-gallium.patch when it gets ported (from Ubuntu), 50 # as it saved ~35 MB in $drivers; watch https://launchpad.net/ubuntu/+source/mesa/+changelog 51 ] ++ optional stdenv.isLinux