Merge pull request #90609 from bkchr/bkchr-fix-hplip

hplip: Fix missing library

authored by Florian Klink and committed by GitHub 23c90919 27094eee

+10 -3
+10 -3
pkgs/misc/drivers/hplip/default.nix
··· 5 , net-snmp, openssl, perl, nettools 6 , bash, coreutils, utillinux 7 # To remove references to gcc-unwrapped 8 - , removeReferencesTo 9 , withQt5 ? true 10 , withPlugin ? false 11 , withStaticPPDInstall ? false ··· 67 zlib 68 ]; 69 70 - nativeBuildInputs = [ pkgconfig removeReferencesTo ]; 71 72 pythonPath = with python3Packages; [ 73 dbus 74 pillow 75 - pygobject2 76 reportlab 77 usbutils 78 sip ··· 219 --replace {,${utillinux}/bin/}logger \ 220 --replace {/usr,$out}/bin 221 remove-references-to -t ${stdenv.cc.cc} $(readlink -f $out/lib/*.so) 222 ''; 223 224 # There are some binaries there, which reference gcc-unwrapped otherwise.
··· 5 , net-snmp, openssl, perl, nettools 6 , bash, coreutils, utillinux 7 # To remove references to gcc-unwrapped 8 + , removeReferencesTo, qt5 9 , withQt5 ? true 10 , withPlugin ? false 11 , withStaticPPDInstall ? false ··· 67 zlib 68 ]; 69 70 + nativeBuildInputs = [ 71 + pkgconfig 72 + removeReferencesTo 73 + ] ++ stdenv.lib.optional withQt5 qt5.wrapQtAppsHook; 74 75 pythonPath = with python3Packages; [ 76 dbus 77 pillow 78 + pygobject3 79 reportlab 80 usbutils 81 sip ··· 222 --replace {,${utillinux}/bin/}logger \ 223 --replace {/usr,$out}/bin 224 remove-references-to -t ${stdenv.cc.cc} $(readlink -f $out/lib/*.so) 225 + '' + stdenv.lib.optionalString withQt5 '' 226 + for f in $out/bin/hp-*;do 227 + wrapQtApp $f 228 + done 229 ''; 230 231 # There are some binaries there, which reference gcc-unwrapped otherwise.