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:
@@ -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"
|
||||
'';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user