zotero: Fix empty dropdown menus, missing libpci warnings
Co-authored-by: Alex Epelde <alex@epelde.net>
This commit is contained in:
@@ -14,6 +14,10 @@
|
||||
firefox-esr-140-unwrapped,
|
||||
makeDesktopItem,
|
||||
copyDesktopItems,
|
||||
makeWrapper,
|
||||
libGL,
|
||||
pciutils,
|
||||
wrapGAppsHook4,
|
||||
nix-update-script,
|
||||
xvfb-run,
|
||||
doCheck ? false,
|
||||
@@ -171,6 +175,8 @@ buildNpmPackage (finalAttrs: {
|
||||
gawk
|
||||
rsync
|
||||
copyDesktopItems
|
||||
makeWrapper
|
||||
wrapGAppsHook4
|
||||
];
|
||||
|
||||
patches = [
|
||||
@@ -296,6 +302,15 @@ buildNpmPackage (finalAttrs: {
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
preFixup = lib.optionalString (!stdenv.targetPlatform.isDarwin) ''
|
||||
gappsWrapperArgs+=(--suffix LD_LIBRARY_PATH : ${
|
||||
lib.makeLibraryPath [
|
||||
libGL
|
||||
pciutils
|
||||
]
|
||||
})
|
||||
'';
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
|
||||
Reference in New Issue
Block a user