primus: fix for libglvnd

Fixes #48795.
This commit is contained in:
Nikolay Amiantov 2019-07-17 11:44:00 +03:00
parent 7fd4ec66e7
commit b1fc8e24a2

View File

@ -28,5 +28,7 @@ let
in writeScriptBin "primusrun" ''
#!${runtimeShell}
export LD_LIBRARY_PATH=${ldPath}:$LD_LIBRARY_PATH
# https://bugs.launchpad.net/ubuntu/+source/bumblebee/+bug/1758243
export __GLVND_DISALLOW_PATCHING=1
exec "$@"
''