mesa WIP: fix bad symlinking, thanks to jack_c on IRC

This commit is contained in:
Vladimír Čunát 2013-05-16 23:52:17 +02:00
parent a649bbea4e
commit a13d1c3363

View File

@ -478,8 +478,9 @@ in
preStart =
''
rm -f /run/opengl-driver
ln -sf opengl-driver /run/opengl-driver-32
rm -f /run/opengl-driver{,-32}
${optionalString (!cfg.driSupport32Bit) "ln -sf opengl-driver /run/opengl-driver-32"}
${# !!! The OpenGL driver depends on what's detected at runtime.
if elem "nvidia" driverNames then
''