about summary refs log tree commit diff
path: root/nixpkgs
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2020-08-12 20:14:08 +0200
committerAlyssa Ross <hi@alyssa.is>2020-09-29 11:53:14 +0000
commit12a25c3ce230dec2c4535ad61c739ea081f1403f (patch)
tree9b0616aab3064a1bdc211be421c6c6a40564fce8 /nixpkgs
parent5150d756b01bdbc2cbf82f6ef933bc49752d74c0 (diff)
downloadnixlib-12a25c3ce230dec2c4535ad61c739ea081f1403f.tar
nixlib-12a25c3ce230dec2c4535ad61c739ea081f1403f.tar.gz
nixlib-12a25c3ce230dec2c4535ad61c739ea081f1403f.tar.bz2
nixlib-12a25c3ce230dec2c4535ad61c739ea081f1403f.tar.lz
nixlib-12a25c3ce230dec2c4535ad61c739ea081f1403f.tar.xz
nixlib-12a25c3ce230dec2c4535ad61c739ea081f1403f.tar.zst
nixlib-12a25c3ce230dec2c4535ad61c739ea081f1403f.zip
thunderbird: use lib.getLib systemd instead of systemd.lib
This will pick the `lib` output if it exists, otherwise default to `out`.

(cherry picked from commit dbb5fbfb1560a049b0ddc94f7176c268494f4bf0)
Diffstat (limited to 'nixpkgs')
-rw-r--r--nixpkgs/pkgs/applications/networking/mailreaders/thunderbird/68.nix2
-rw-r--r--nixpkgs/pkgs/applications/networking/mailreaders/thunderbird/default.nix2
2 files changed, 2 insertions, 2 deletions
diff --git a/nixpkgs/pkgs/applications/networking/mailreaders/thunderbird/68.nix b/nixpkgs/pkgs/applications/networking/mailreaders/thunderbird/68.nix
index 97aa0f792f3f..10f9ecb2e1a4 100644
--- a/nixpkgs/pkgs/applications/networking/mailreaders/thunderbird/68.nix
+++ b/nixpkgs/pkgs/applications/networking/mailreaders/thunderbird/68.nix
@@ -307,7 +307,7 @@ stdenv.mkDerivation rec {
   # 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:${systemd.lib}/lib:$(patchelf --print-rpath $xul)" $xul
+    patchelf --set-rpath "${libnotify}/lib:${lib.getLib systemd}/lib:$(patchelf --print-rpath $xul)" $xul
   '';
 
   doInstallCheck = true;
diff --git a/nixpkgs/pkgs/applications/networking/mailreaders/thunderbird/default.nix b/nixpkgs/pkgs/applications/networking/mailreaders/thunderbird/default.nix
index 781788304336..a354c5879b29 100644
--- a/nixpkgs/pkgs/applications/networking/mailreaders/thunderbird/default.nix
+++ b/nixpkgs/pkgs/applications/networking/mailreaders/thunderbird/default.nix
@@ -300,7 +300,7 @@ stdenv.mkDerivation rec {
   # 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:${systemd.lib}/lib:$(patchelf --print-rpath $xul)" $xul
+    patchelf --set-rpath "${libnotify}/lib:${lib.getLib systemd}/lib:$(patchelf --print-rpath $xul)" $xul
   '';
 
   doInstallCheck = true;