write_stylus: fix loading libGL.so with libglvnd (#50395)
./Write: error while loading shared libraries: libGL.so.1: cannot open shared object file: No such file or directory
This commit is contained in:
parent
101133deae
commit
04b234e995
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, lib, qtbase, qtsvg, fetchurl, makeDesktopItem }:
|
{ stdenv, lib, qtbase, qtsvg, libglvnd, fetchurl, makeDesktopItem }:
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "write_stylus-${version}";
|
name = "write_stylus-${version}";
|
||||||
version = "209";
|
version = "209";
|
||||||
@ -43,9 +43,10 @@ stdenv.mkDerivation rec {
|
|||||||
'';
|
'';
|
||||||
preFixup = let
|
preFixup = let
|
||||||
libPath = lib.makeLibraryPath [
|
libPath = lib.makeLibraryPath [
|
||||||
qtbase # libQt5PrintSupport.so.5
|
qtbase # libQt5PrintSupport.so.5
|
||||||
qtsvg # libQt5Svg.so.5
|
qtsvg # libQt5Svg.so.5
|
||||||
stdenv.cc.cc.lib # libstdc++.so.6
|
stdenv.cc.cc.lib # libstdc++.so.6
|
||||||
|
libglvnd # ibGL.so.1
|
||||||
];
|
];
|
||||||
in ''
|
in ''
|
||||||
patchelf \
|
patchelf \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user