Cleaning the xfontsel expression a bit - I did not want to commit such amount of superfluous

words in it, in the recent commit.


svn path=/nixpkgs/trunk/; revision=19093
This commit is contained in:
Lluís Batlle i Rossell 2009-12-24 14:55:11 +00:00
parent 5a4f1b07f4
commit 4354cf8a6b
2 changed files with 4 additions and 5 deletions

View File

@ -2,7 +2,7 @@
# at http://www.x.org/releases/individual/.
# That is why this expression is not inside pkgs.xorg
{stdenv, fetchurl, libX11, pkgconfig, libXaw, libXi, imake, xauth, libXau}:
{stdenv, fetchurl, libX11, pkgconfig, libXaw}:
stdenv.mkDerivation rec {
name = "xfontsel-1.0.2";
@ -16,8 +16,8 @@ stdenv.mkDerivation rec {
# This will not make xfontsel find its app-defaults, but at least the $out
# directory will contain them.
# hack: Copying the XFontSel app-defaults file to $HOME makes xfontsel work.
patchPhase = ''
sed -i 's@^appdefaultdir=.*@appdefaultdir='$out/share/X11/app-defaults@ configure
preInstall = ''
installFlags="appdefaultdir=$out/share/X11/app-defaults"
'';
}

View File

@ -6733,8 +6733,7 @@ let
xfontsel = import ../applications/misc/xfontsel {
inherit fetchurl stdenv pkgconfig;
inherit (xlibs) libX11 libXi imake libXau libXaw;
inherit (xorg) xauth;
inherit (xlibs) libX11 libXaw;
};
fspot = import ../applications/graphics/f-spot {