Skip to content

Commit

Permalink
thunderbird: Patch rpath to find libudev, which is part of systemd.
Browse files Browse the repository at this point in the history
  • Loading branch information
IreneKnapp committed Jun 14, 2020
1 parent f26e514 commit ac45656
Showing 1 changed file with 4 additions and 3 deletions.
Expand Up @@ -43,6 +43,7 @@
, rustc
, sqlite
, stdenv
, systemd
, unzip
, which
, writeScript
Expand Down Expand Up @@ -305,11 +306,11 @@ stdenv.mkDerivation rec {
)
'';

# FIXME: This can probably be removed as soon as we package a
# Thunderbird >=71.0 since XUL shouldn't be anymore (in use)?
# FIXME: The XUL portion of this can probably be removed as soon as we
# package a Thunderbird >=71.0 since XUL shouldn't be anymore (in use)?
postFixup = ''
local xul="$out/lib/thunderbird/libxul.so"
patchelf --set-rpath "${libnotify}/lib:$(patchelf --print-rpath $xul)" $xul
patchelf --set-rpath "${libnotify}/lib:${systemd.lib}/lib:$(patchelf --print-rpath $xul)" $xul
'';

doInstallCheck = true;
Expand Down

0 comments on commit ac45656

Please sign in to comment.