tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
electron: add libstdc++ to RPATH
Maximilian Marx
2 years ago
945d8147
5df2409d
+4
-7
4 changed files
expand all
collapse all
unified
split
pkgs
applications
blockchains
terra-station
default.nix
misc
logseq
default.nix
office
super-productivity
default.nix
development
tools
electron
common.nix
+1
-3
pkgs/applications/blockchains/terra-station/default.nix
···
1
1
{ lib, stdenv
2
2
, fetchurl
3
3
-
, gcc-unwrapped
4
3
, dpkg
5
4
, util-linux
6
5
, bash
···
57
56
58
57
postFixup = ''
59
58
makeWrapper ${electron}/bin/electron $out/bin/${pname} \
60
60
-
--add-flags $out/share/${pname}/resources/app.asar \
61
61
-
--prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ gcc-unwrapped.lib ]}"
59
59
+
--add-flags $out/share/${pname}/resources/app.aasar
62
60
'';
63
61
64
62
meta = with lib; {
+1
-2
pkgs/applications/misc/logseq/default.nix
···
60
60
makeWrapper ${electron_27}/bin/electron $out/bin/${pname} \
61
61
--set "LOCAL_GIT_DIRECTORY" ${git} \
62
62
--add-flags $out/share/${pname}/resources/app \
63
63
-
--add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations}}" \
64
64
-
--prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ stdenv.cc.cc.lib ]}"
63
63
+
--add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations}}"
65
64
'';
66
65
67
66
passthru.updateScript = nix-update-script { };
+1
-2
pkgs/applications/office/super-productivity/default.nix
···
38
38
39
39
postFixup = ''
40
40
makeWrapper ${electron}/bin/electron $out/bin/${pname} \
41
41
-
--add-flags $out/share/${pname}/resources/app.asar \
42
42
-
--prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ stdenv.cc.cc ]}"
41
41
+
--add-flags $out/share/${pname}/resources/app.asar
43
42
'';
44
43
45
44
meta = with lib; {
+1
pkgs/development/tools/electron/common.nix
···
195
195
libPath = lib.makeLibraryPath [
196
196
libnotify
197
197
pipewire
198
198
+
stdenv.cc.cc.lib
198
199
];
199
200
in
200
201
base.postFixup + ''