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.

@vcunat
This commit is contained in:
Eelco Dolstra
2016-05-22 23:05:10 +02:00
parent 3ee6b22dc3
commit 1a52fdc3c6
2 changed files with 73 additions and 0 deletions
@@ -45,6 +45,7 @@ stdenv.mkDerivation {
patches = [
./glx_ro_text_segm.patch # fix for grsecurity/PaX
./symlink-drivers.patch
# TODO: revive ./dricore-gallium.patch when it gets ported (from Ubuntu),
# as it saved ~35 MB in $drivers; watch https://launchpad.net/ubuntu/+source/mesa/+changelog
] ++ optional stdenv.isLinux