termite: use wrapGAppsHook

This commit is contained in:
Joerg Thalheim 2017-09-24 14:47:14 +01:00
parent 42dcf914d1
commit 4d4c32504a

View File

@ -1,8 +1,8 @@
{ stdenv, fetchgit, pkgconfig, vte, gtk3, ncurses, makeWrapper, symlinkJoin
{ stdenv, fetchgit, pkgconfig, vte, gtk3, ncurses, makeWrapper, wrapGAppsHook, symlinkJoin
, configFile ? null
}:
let
let
version = "12";
termite = stdenv.mkDerivation {
name = "termite-${version}";
@ -17,9 +17,9 @@ let
makeFlags = [ "VERSION=v${version}" "PREFIX=" "DESTDIR=$(out)" ];
buildInputs = [ pkgconfig vte gtk3 ncurses ];
buildInputs = [ vte gtk3 ncurses ];
nativeBuildInputs = [ makeWrapper ];
nativeBuildInputs = [ wrapGAppsHook pkgconfig ];
outputs = [ "out" "terminfo" ];
@ -29,9 +29,6 @@ let
mkdir -p $out/nix-support
echo "$terminfo" >> $out/nix-support/propagated-user-env-packages
wrapProgram $out/bin/termite \
--prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH"
'';
meta = with stdenv.lib; {