mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 15:11:25 +00:00
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 {
|
||||
name = "write_stylus-${version}";
|
||||
version = "209";
|
||||
@ -43,9 +43,10 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
preFixup = let
|
||||
libPath = lib.makeLibraryPath [
|
||||
qtbase # libQt5PrintSupport.so.5
|
||||
qtsvg # libQt5Svg.so.5
|
||||
qtbase # libQt5PrintSupport.so.5
|
||||
qtsvg # libQt5Svg.so.5
|
||||
stdenv.cc.cc.lib # libstdc++.so.6
|
||||
libglvnd # ibGL.so.1
|
||||
];
|
||||
in ''
|
||||
patchelf \
|
||||
|
Loading…
Reference in New Issue
Block a user