mullvad-vpn: use lib.getLib systemd instead of systemd.lib

This will pick the `lib` output if it exists, otherwise default to `out`.
This commit is contained in:
Florian Klink 2020-08-12 20:14:44 +02:00
parent dbb5fbfb15
commit a22b1a61a8

View file

@ -1,4 +1,4 @@
{ stdenv, makeWrapper, fetchurl, dpkg
{ stdenv, lib, makeWrapper, fetchurl, dpkg
, alsaLib, atk, cairo, cups, dbus, expat, fontconfig, freetype
, gdk-pixbuf, glib, gnome2, pango, nspr, nss, gtk3
, xorg, autoPatchelfHook, systemd, libnotify, libappindicator
@ -60,7 +60,7 @@ stdenv.mkDerivation rec {
unpackPhase = "dpkg-deb -x $src .";
runtimeDependencies = [ systemd.lib libnotify libappindicator ];
runtimeDependencies = [ (lib.getLib systemd) libnotify libappindicator ];
installPhase = ''
runHook preInstall