From 04b234e99538d238720090437401fed5029b70e4 Mon Sep 17 00:00:00 2001 From: Oyren Date: Thu, 15 Nov 2018 14:55:05 +0100 Subject: 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 --- pkgs/applications/graphics/write_stylus/default.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'pkgs/applications') 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 \ -- cgit 1.4.1