vk-messenger: use lib.getLib udev instead of udev.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:28:30 +02:00
parent fd4ca19831
commit 5cf44f4eda

@ -1,4 +1,4 @@
{ stdenv, fetchurl, rpmextract, autoPatchelfHook
{ stdenv, lib, fetchurl, rpmextract, autoPatchelfHook
, xorg, gtk3, gnome2, nss, alsaLib, udev, libnotify
, wrapGAppsHook }:
@ -24,7 +24,7 @@ in stdenv.mkDerivation {
]) ++ [
gtk3 nss alsaLib
];
runtimeDependencies = [ udev.lib libnotify ];
runtimeDependencies = [ (lib.getLib udev) libnotify ];
unpackPhase = ''
rpmextract $src