Skip to content

Commit

Permalink
gnome3.epiphany: fix rpath wrapping
Browse files Browse the repository at this point in the history
  • Loading branch information
jtojnar committed Dec 31, 2017
1 parent ab3a12e commit c95491c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkgs/desktops/gnome-3/core/epiphany/default.nix
Expand Up @@ -30,8 +30,8 @@ stdenv.mkDerivation rec {

postFixup = ''
# Patched meson does not add internal libraries to rpath
for f in bin/.epiphany-wrapped libexec/.epiphany-search-provider-wrapped libexec/epiphany/.ephy-profile-migrator-wrapped lib/epiphany/web-extensions/libephywebextension.so; do
patchelf --set-rpath "$out/lib/epiphany:$(patchelf --print-rpath $out/$f)" "$out/$f"
for f in $out/bin/.*-wrapped $out/libexec/.*-wrapped $out/libexec/epiphany/.*-wrapped $out/lib/epiphany/*.so $out/lib/epiphany/web-extensions/*.so; do
patchelf --set-rpath "$out/lib/epiphany:$(patchelf --print-rpath $f)" "$f"
done
'';

Expand Down

0 comments on commit c95491c

Please sign in to comment.