Skip to content

Commit

Permalink
firefox: fix paths in post{Install,Fixup}
Browse files Browse the repository at this point in the history
  • Loading branch information
pbogdan authored and dezgeg committed Mar 20, 2018
1 parent 8245c6e commit fd016e3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkgs/applications/networking/browsers/firefox/common.nix
Expand Up @@ -208,7 +208,7 @@ stdenv.mkDerivation (rec {

postInstall = ''
# For grsecurity kernels
paxmark m $out/lib/firefox-[0-9]*/{firefox,firefox-bin,plugin-container}
paxmark m $out/lib/firefox*/{firefox,firefox-bin,plugin-container}
# Remove SDK cruft. FIXME: move to a separate output?
rm -rf $out/share/idl $out/include $out/lib/firefox-devel-*
Expand All @@ -220,8 +220,8 @@ stdenv.mkDerivation (rec {
postFixup = ''
# Fix notifications. LibXUL uses dlopen for this, unfortunately; see #18712.
patchelf --set-rpath "${lib.getLib libnotify
}/lib:$(patchelf --print-rpath "$out"/lib/firefox-*/libxul.so)" \
"$out"/lib/firefox-*/libxul.so
}/lib:$(patchelf --print-rpath "$out"/lib/firefox*/libxul.so)" \
"$out"/lib/firefox*/libxul.so
'';

doInstallCheck = true;
Expand Down

0 comments on commit fd016e3

Please sign in to comment.