diff options
author | Nikolay Amiantov <ab@fmap.me> | 2017-02-16 11:05:11 +0300 |
---|---|---|
committer | Nikolay Amiantov <ab@fmap.me> | 2017-02-16 15:32:03 +0300 |
commit | 434affb14df7b5b785b835c4d8651effc16279be (patch) | |
tree | f05065eeccabab6b046d97c23448c600be184002 /pkgs/applications/window-managers/openbox | |
parent | 3c0b1919e7440262a9d0d259d77d5ba142e44af5 (diff) |
openbox: fix openbox-xdg-autostart
Also add more optional dependencies.
Diffstat (limited to 'pkgs/applications/window-managers/openbox')
-rw-r--r-- | pkgs/applications/window-managers/openbox/default.nix | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/pkgs/applications/window-managers/openbox/default.nix b/pkgs/applications/window-managers/openbox/default.nix index ba0c812ef6a64..7b60d573d1e5d 100644 --- a/pkgs/applications/window-managers/openbox/default.nix +++ b/pkgs/applications/window-managers/openbox/default.nix @@ -1,5 +1,5 @@ -{ stdenv, fetchurl, pkgconfig -, libxml2, libXinerama, libXcursor, libXau, libXrandr +{ stdenv, fetchurl, pkgconfig, python2 +, libxml2, libXinerama, libXcursor, libXau, libXrandr, libICE, libSM , imlib2, pango, libstartup_notification, makeWrapper }: stdenv.mkDerivation rec { @@ -8,8 +8,13 @@ stdenv.mkDerivation rec { buildInputs = [ pkgconfig libxml2 - libXinerama libXcursor libXau libXrandr + libXinerama libXcursor libXau libXrandr libICE libSM libstartup_notification makeWrapper + python2.pkgs.wrapPython + ]; + + pythonPath = with python2.pkgs; [ + pyxdg ]; propagatedBuildInputs = [ @@ -35,7 +40,8 @@ stdenv.mkDerivation rec { wrapProgram "$out/bin/openbox-session" --prefix XDG_DATA_DIRS : "$out/share" wrapProgram "$out/bin/openbox-gnome-session" --prefix XDG_DATA_DIRS : "$out/share" wrapProgram "$out/bin/openbox-kde-session" --prefix XDG_DATA_DIRS : "$out/share" - ''; + wrapPythonPrograms + ''; meta = { description = "X window manager for non-desktop embedded systems"; |