termius: use lib.getLib udev instead of udev.lib

This will pick the `lib` output if it exists, otherwise default to `out`.
gstqt5
Florian Klink 2020-08-12 20:29:24 +02:00
parent f77b81df26
commit 05a5afc979
1 changed files with 2 additions and 1 deletions

View File

@ -5,6 +5,7 @@
, makeDesktopItem
, makeWrapper
, stdenv
, lib
, udev
, wrapGAppsHook
}:
@ -50,7 +51,7 @@ stdenv.mkDerivation rec {
cp "${desktopItem}/share/applications/"* "$out/share/applications"
'';
runtimeDependencies = [ udev.lib ];
runtimeDependencies = [ (lib.getLib udev) ];
postFixup = ''
makeWrapper $out/opt/Termius/termius-app $out/bin/termius-app \