obinskit : use lib.getLib systemd instead of systemd.lib

This will pick the `lib` output if it exists, otherwise default to `out`.
gstqt5
Florian Klink 2020-08-12 20:11:02 +02:00
parent 766a3b5b55
commit 6585998a92
1 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,5 @@
{ stdenv
, lib
, fetchurl
, libxkbcommon
, systemd
@ -50,7 +51,7 @@ stdenv.mkDerivation rec {
postFixup = ''
makeWrapper ${electron}/bin/electron $out/bin/${pname} \
--add-flags $out/opt/obinskit/resources/app.asar \
--prefix LD_LIBRARY_PATH : "${stdenv.lib.makeLibraryPath [ stdenv.cc.cc.lib libxkbcommon systemd.lib xorg.libXt ]}"
--prefix LD_LIBRARY_PATH : "${stdenv.lib.makeLibraryPath [ stdenv.cc.cc.lib libxkbcommon (lib.getLib systemd) xorg.libXt ]}"
'';
meta = with stdenv.lib; {