mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
libgnomekbd: fix dependencies
There were things in Requires that weren't propagated.
This commit is contained in:
parent
580a6f492a
commit
47dcb0439a
1 changed files with 13 additions and 7 deletions
|
@ -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 {
|
||||
pname = "libgnomekbd";
|
||||
|
@ -13,13 +13,19 @@ stdenv.mkDerivation rec {
|
|||
updateScript = gnome3.updateScript { packageName = pname; };
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig file intltool makeWrapper ];
|
||||
buildInputs = [ glib gtk3 libxklavier ];
|
||||
nativeBuildInputs = [
|
||||
file
|
||||
intltool
|
||||
pkgconfig
|
||||
wrapGAppsHook
|
||||
];
|
||||
|
||||
preFixup = ''
|
||||
wrapProgram $out/bin/gkbd-keyboard-display \
|
||||
--prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH"
|
||||
'';
|
||||
# Requires in libgnomekbd.pc
|
||||
propagatedBuildInputs = [
|
||||
gtk3
|
||||
libxklavier
|
||||
glib
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Keyboard management library";
|
||||
|
|
Loading…
Reference in a new issue