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
{ 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
0
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
0
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}}"
0
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
0
42
'';
43
44
meta = with lib; {
+1
pkgs/development/tools/electron/common.nix
···
195
libPath = lib.makeLibraryPath [
196
libnotify
197
pipewire
0
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 + ''