override RUNPATH to put patched gtk3 first
This commit is contained in:
parent
c9fdda41d1
commit
5d15236903
1 changed files with 7 additions and 0 deletions
|
|
@ -60,6 +60,13 @@
|
|||
unset GST_PLUGIN_SYSTEM_PATH_1_0
|
||||
''
|
||||
+ old.postInstall;
|
||||
# nix2flatpak swaps dropped RUNPATH entries for the runtime's libdir in place,
|
||||
# which would put it ahead of our patched GTK, so move GTK to the front
|
||||
postFixup = old.postFixup or "" + ''
|
||||
bin=$out/app/nexus/nexus
|
||||
${lib.getExe pkgs.patchelf} --set-rpath \
|
||||
"${lib.getLib pkgs.gtk3}/lib:$(${lib.getExe pkgs.patchelf} --print-rpath $bin)" $bin
|
||||
'';
|
||||
})
|
||||
);
|
||||
runtime = "org.gnome.Platform/51";
|
||||
|
|
|
|||
Loading…
Reference in a new issue