electron: add libstdc++ to RPATH

+4 -7
+1 -3
pkgs/applications/blockchains/terra-station/default.nix
··· 1 { lib, stdenv 2 , fetchurl 3 - , gcc-unwrapped 4 , dpkg 5 , util-linux 6 , bash ··· 57 58 postFixup = '' 59 makeWrapper ${electron}/bin/electron $out/bin/${pname} \ 60 - --add-flags $out/share/${pname}/resources/app.asar \ 61 - --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ gcc-unwrapped.lib ]}" 62 ''; 63 64 meta = with lib; {
··· 1 { lib, stdenv 2 , fetchurl 3 , dpkg 4 , util-linux 5 , bash ··· 56 57 postFixup = '' 58 makeWrapper ${electron}/bin/electron $out/bin/${pname} \ 59 + --add-flags $out/share/${pname}/resources/app.aasar 60 ''; 61 62 meta = with lib; {
+1 -2
pkgs/applications/misc/logseq/default.nix
··· 60 makeWrapper ${electron_27}/bin/electron $out/bin/${pname} \ 61 --set "LOCAL_GIT_DIRECTORY" ${git} \ 62 --add-flags $out/share/${pname}/resources/app \ 63 - --add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations}}" \ 64 - --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ stdenv.cc.cc.lib ]}" 65 ''; 66 67 passthru.updateScript = nix-update-script { };
··· 60 makeWrapper ${electron_27}/bin/electron $out/bin/${pname} \ 61 --set "LOCAL_GIT_DIRECTORY" ${git} \ 62 --add-flags $out/share/${pname}/resources/app \ 63 + --add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations}}" 64 ''; 65 66 passthru.updateScript = nix-update-script { };
+1 -2
pkgs/applications/office/super-productivity/default.nix
··· 38 39 postFixup = '' 40 makeWrapper ${electron}/bin/electron $out/bin/${pname} \ 41 - --add-flags $out/share/${pname}/resources/app.asar \ 42 - --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ stdenv.cc.cc ]}" 43 ''; 44 45 meta = with lib; {
··· 38 39 postFixup = '' 40 makeWrapper ${electron}/bin/electron $out/bin/${pname} \ 41 + --add-flags $out/share/${pname}/resources/app.asar 42 ''; 43 44 meta = with lib; {
+1
pkgs/development/tools/electron/common.nix
··· 195 libPath = lib.makeLibraryPath [ 196 libnotify 197 pipewire 198 ]; 199 in 200 base.postFixup + ''
··· 195 libPath = lib.makeLibraryPath [ 196 libnotify 197 pipewire 198 + stdenv.cc.cc.lib 199 ]; 200 in 201 base.postFixup + ''