about summary refs log tree commit diff
path: root/pkgs/applications
diff options
context:
space:
mode:
authorIrene Knapp <ireneista@gmail.com>2020-06-13 15:59:38 -0700
committerIrene Knapp <ireneista@gmail.com>2020-06-13 19:26:24 -0700
commitac45656b129ae657719fee2086439d5a0bfc076b (patch)
treee61b9be8cc39010f2f3d5eb1ee4cb8e168c81c97 /pkgs/applications
parentf26e514cfe5ebd731e85d6c81f3f243c7d412acf (diff)
downloadnixlib-ac45656b129ae657719fee2086439d5a0bfc076b.tar
nixlib-ac45656b129ae657719fee2086439d5a0bfc076b.tar.gz
nixlib-ac45656b129ae657719fee2086439d5a0bfc076b.tar.bz2
nixlib-ac45656b129ae657719fee2086439d5a0bfc076b.tar.lz
nixlib-ac45656b129ae657719fee2086439d5a0bfc076b.tar.xz
nixlib-ac45656b129ae657719fee2086439d5a0bfc076b.tar.zst
nixlib-ac45656b129ae657719fee2086439d5a0bfc076b.zip
thunderbird: Patch rpath to find libudev, which is part of systemd.
Diffstat (limited to 'pkgs/applications')
-rw-r--r--pkgs/applications/networking/mailreaders/thunderbird/default.nix7
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/applications/networking/mailreaders/thunderbird/default.nix b/pkgs/applications/networking/mailreaders/thunderbird/default.nix
index 2ba2d2fca63e..9ebf5839344c 100644
--- a/pkgs/applications/networking/mailreaders/thunderbird/default.nix
+++ b/pkgs/applications/networking/mailreaders/thunderbird/default.nix
@@ -43,6 +43,7 @@
 , rustc
 , sqlite
 , stdenv
+, systemd
 , unzip
 , which
 , writeScript
@@ -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;