diff options
author | gnidorah <gnidorah@users.noreply.github.com> | 2017-08-14 11:13:49 +0300 |
---|---|---|
committer | gnidorah <gnidorah@users.noreply.github.com> | 2017-08-14 11:13:49 +0300 |
commit | b73ae0a695f3fec59d4d0c4613496e40e3c795c4 (patch) | |
tree | 8a9e59d687e96828becb5935381450e3da1bf59c /pkgs/desktops/maxx | |
parent | 52deb4b46058b10a50af2b6dc04ff01c62f78c35 (diff) |
maxx: move deps from module to package
Diffstat (limited to 'pkgs/desktops/maxx')
-rw-r--r-- | pkgs/desktops/maxx/default.nix | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/pkgs/desktops/maxx/default.nix b/pkgs/desktops/maxx/default.nix index 8cceb5a05d3e..5bcc6e841521 100644 --- a/pkgs/desktops/maxx/default.nix +++ b/pkgs/desktops/maxx/default.nix @@ -1,8 +1,8 @@ -{ stdenv, fetchurl +{ stdenv, fetchurl, makeWrapper , libX11, libXext, libXi, libXau, libXrender, libXft, libXmu, libSM, libXcomposite, libXfixes, libXpm , libXinerama, libXdamage, libICE, libXtst, libXaw , fontconfig, pango, cairo, glib, libxml2, atk, gtk2, gdk_pixbuf, mesa_noglu, ncurses -, bash }: +, gcc, xclock, xsettingsd, bash, gtk-engine-murrine, gtk_engines, librsvg }: let version = "Indy-1.1.0"; @@ -26,6 +26,8 @@ in stdenv.mkDerivation { }) ]; + buildInputs = [ makeWrapper ]; + buildPhase = '' while IFS= read -r -d $'\0' i; do if isELF "$i"; then @@ -47,8 +49,14 @@ in stdenv.mkDerivation { mv -- ./* "$maxx" ln -s $maxx/share/icons $out/share + + wrapProgram $maxx/etc/skel/Xsession.dt \ + --prefix GTK_PATH : "${gtk-engine-murrine}/lib/gtk-2.0:${gtk_engines}/lib/gtk-2.0" \ + --prefix GDK_PIXBUF_MODULE_FILE : "$(echo ${librsvg.out}/lib/gdk-pixbuf-2.0/*/loaders.cache)" ''; + propagatedUserEnvPkgs = [ gcc xclock xsettingsd ]; + meta = with stdenv.lib; { description = "A replica of IRIX Interactive Desktop"; homepage = http://www.maxxinteractive.com; |