sysprof: 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:17:51 +02:00
parent 9fb8e4a765
commit 661314d27b

View File

@ -1,4 +1,5 @@
{ stdenv { stdenv
, lib
, desktop-file-utils , desktop-file-utils
, fetchurl , fetchurl
, fetchpatch , fetchpatch
@ -50,7 +51,7 @@ stdenv.mkDerivation rec {
wrapGAppsHook wrapGAppsHook
gnome3.adwaita-icon-theme gnome3.adwaita-icon-theme
]; ];
buildInputs = [ glib gtk3 pango polkit systemd.dev systemd.lib libdazzle ]; buildInputs = [ glib gtk3 pango polkit systemd.dev (lib.getLib systemd) libdazzle ];
mesonFlags = [ mesonFlags = [
"-Dsystemdunitdir=lib/systemd/system" "-Dsystemdunitdir=lib/systemd/system"