diff --git a/pkgs/tools/X11/obconf/default.nix b/pkgs/tools/X11/obconf/default.nix index 5ffef951d51a..8b6e12bd378d 100644 --- a/pkgs/tools/X11/obconf/default.nix +++ b/pkgs/tools/X11/obconf/default.nix @@ -1,5 +1,5 @@ { lib, stdenv, fetchgit, autoreconfHook, pkg-config, gtk3, openbox, - imlib2, libxml2, libstartup_notification, makeWrapper, libSM }: + imlib2, libxml2, libstartup_notification, wrapGAppsHook, libSM }: stdenv.mkDerivation rec { pname = "obconf"; @@ -13,8 +13,8 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ autoreconfHook - makeWrapper pkg-config + wrapGAppsHook ]; buildInputs = [ @@ -30,10 +30,6 @@ stdenv.mkDerivation rec { substituteInPlace configure.ac --replace 2.0.4 ${version} ''; - postInstall = '' - wrapProgram $out/bin/obconf --prefix XDG_DATA_DIRS : ${openbox}/share/ - ''; - meta = { description = "GUI configuration tool for openbox"; homepage = "http://openbox.org/wiki/ObConf";