libgnomekbd: fix dependencies

There were things in Requires that weren't propagated.
This commit is contained in:
worldofpeace 2019-12-14 22:18:12 -05:00
parent 580a6f492a
commit 47dcb0439a

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkgconfig, file, intltool, glib, gtk3, libxklavier, makeWrapper, gnome3 }: { stdenv, fetchurl, pkgconfig, file, intltool, glib, gtk3, libxklavier, wrapGAppsHook, gnome3 }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "libgnomekbd"; pname = "libgnomekbd";
@ -13,13 +13,19 @@ stdenv.mkDerivation rec {
updateScript = gnome3.updateScript { packageName = pname; }; updateScript = gnome3.updateScript { packageName = pname; };
}; };
nativeBuildInputs = [ pkgconfig file intltool makeWrapper ]; nativeBuildInputs = [
buildInputs = [ glib gtk3 libxklavier ]; file
intltool
pkgconfig
wrapGAppsHook
];
preFixup = '' # Requires in libgnomekbd.pc
wrapProgram $out/bin/gkbd-keyboard-display \ propagatedBuildInputs = [
--prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH" gtk3
''; libxklavier
glib
];
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Keyboard management library"; description = "Keyboard management library";