From 47cc49caf713b721453b2c14a64107de057743c0 Mon Sep 17 00:00:00 2001 From: Perchun Pak Date: Fri, 8 May 2026 09:37:11 +0200 Subject: [PATCH] equibop: prefix `LD_LIBRARY_PATH` with GCC The app raises an error, that it cannot find it, and a couple of bugs for my friend. --- pkgs/by-name/eq/equibop/package.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/eq/equibop/package.nix b/pkgs/by-name/eq/equibop/package.nix index 3dab77796c0b..e0d33748ba90 100644 --- a/pkgs/by-name/eq/equibop/package.nix +++ b/pkgs/by-name/eq/equibop/package.nix @@ -129,6 +129,8 @@ stdenv.mkDerivation (finalAttrs: { ''; postFixup = '' + # NOTE: LD_LIBRARY_PATH is needed, because equibop raises a warning at the start + # and it fixes a couple of bugs makeWrapper ${electron}/bin/electron $out/bin/equibop \ --add-flags $out/opt/Equibop/resources/app.asar \ ${lib.optionalString withTTS '' @@ -136,7 +138,8 @@ stdenv.mkDerivation (finalAttrs: { --add-flags "\''${NIXOS_SPEECH:+--enable-speech-dispatcher}" \ ''} \ ${lib.optionalString withMiddleClickScroll "--add-flags \"--enable-blink-features=MiddleClickAutoscroll\""} \ - --add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations --enable-wayland-ime=true}}" + --add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations --enable-wayland-ime=true}}" \ + --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ (lib.getLib stdenv.cc.cc) ]}" ''; desktopItems = makeDesktopItem {