diff options
author | Florian Klink <flokli@flokli.de> | 2020-08-12 20:21:10 +0200 |
---|---|---|
committer | Florian Klink <flokli@flokli.de> | 2020-08-13 20:51:41 +0200 |
commit | 135158c8c6ade75f9414008c0141df9b31b4ed57 (patch) | |
tree | a671249e435c1727f58c1db0ae3951133e25c268 /pkgs/tools/security/encryptr | |
parent | d6f3b96a5d99b93ed07509c7c50f168348ed6762 (diff) |
encryptr: use lib.getLib systemd instead of systemd.lib
This will pick the `lib` output if it exists, otherwise default to `out`.
Diffstat (limited to 'pkgs/tools/security/encryptr')
-rw-r--r-- | pkgs/tools/security/encryptr/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/tools/security/encryptr/default.nix b/pkgs/tools/security/encryptr/default.nix index b4c2bef2cf407..62311a41da370 100644 --- a/pkgs/tools/security/encryptr/default.nix +++ b/pkgs/tools/security/encryptr/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, glib, nss, nspr, gconf, fontconfig, freetype +{ stdenv, lib, fetchurl, glib, nss, nspr, gconf, fontconfig, freetype , pango , cairo, libX11 , libXi, libXcursor, libXext, libXfixes , libXrender, libXcomposite , alsaLib, libXdamage, libXtst, libXrandr , expat, libcap, systemd , dbus, gtk2 , gdk-pixbuf, libnotify @@ -36,7 +36,7 @@ in stdenv.mkDerivation rec { cp -v {encryptr-bin,icudtl.dat,nw.pak} $out/bin mv -v $out/bin/encryptr{-bin,} cp -v lib* $out/lib - ln -sv ${systemd.lib}/lib/libudev.so.1 $out/lib/libudev.so.0 + ln -sv ${lib.getLib systemd}/lib/libudev.so.1 $out/lib/libudev.so.0 patchelf --set-interpreter $(cat $NIX_CC/nix-support/dynamic-linker) \ --set-rpath $out/lib:${rpath} \ |