Skip to content

Commit

Permalink
openbox: fix openbox-xdg-autostart
Browse files Browse the repository at this point in the history
Also add more optional dependencies.
  • Loading branch information
abbradar committed Feb 16, 2017
1 parent 3c0b191 commit 434affb
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions 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 {
Expand All @@ -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 = [
Expand All @@ -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";
Expand Down

0 comments on commit 434affb

Please sign in to comment.