summary refs log tree commit diff
path: root/pkgs/applications
diff options
context:
space:
mode:
authorOyren <m.scheuren@oyra.eu>2018-11-15 14:55:05 +0100
committerJörg Thalheim <Mic92@users.noreply.github.com>2018-11-15 13:55:05 +0000
commit04b234e99538d238720090437401fed5029b70e4 (patch)
tree05dfbe4d769629f298d86035cb19ffe25b450847 /pkgs/applications
parent101133deaeea1194f4a915d8f27ad485d68e4e36 (diff)
downloadnixpkgs-04b234e99538d238720090437401fed5029b70e4.tar
nixpkgs-04b234e99538d238720090437401fed5029b70e4.tar.gz
nixpkgs-04b234e99538d238720090437401fed5029b70e4.tar.bz2
nixpkgs-04b234e99538d238720090437401fed5029b70e4.tar.lz
nixpkgs-04b234e99538d238720090437401fed5029b70e4.tar.xz
nixpkgs-04b234e99538d238720090437401fed5029b70e4.tar.zst
nixpkgs-04b234e99538d238720090437401fed5029b70e4.zip
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
Diffstat (limited to 'pkgs/applications')
-rw-r--r--pkgs/applications/graphics/write_stylus/default.nix7
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/applications/graphics/write_stylus/default.nix b/pkgs/applications/graphics/write_stylus/default.nix
index 9fd464f4620..e11bc3dd5bb 100644
--- a/pkgs/applications/graphics/write_stylus/default.nix
+++ b/pkgs/applications/graphics/write_stylus/default.nix
@@ -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 \