summary refs log tree commit diff
path: root/pkgs/applications/misc/xfontsel
diff options
context:
space:
mode:
authorLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2009-12-24 14:55:11 +0000
committerLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2009-12-24 14:55:11 +0000
commit4354cf8a6b67f6d6e0f09bd3f054b6416f1d0cf9 (patch)
tree697f38ce547a23e1cb05d83bfc3086af7cd33284 /pkgs/applications/misc/xfontsel
parent5a4f1b07f4618dac4b3a57c06d5bf84f3a606a08 (diff)
downloadnixpkgs-4354cf8a6b67f6d6e0f09bd3f054b6416f1d0cf9.tar
nixpkgs-4354cf8a6b67f6d6e0f09bd3f054b6416f1d0cf9.tar.gz
nixpkgs-4354cf8a6b67f6d6e0f09bd3f054b6416f1d0cf9.tar.bz2
nixpkgs-4354cf8a6b67f6d6e0f09bd3f054b6416f1d0cf9.tar.lz
nixpkgs-4354cf8a6b67f6d6e0f09bd3f054b6416f1d0cf9.tar.xz
nixpkgs-4354cf8a6b67f6d6e0f09bd3f054b6416f1d0cf9.tar.zst
nixpkgs-4354cf8a6b67f6d6e0f09bd3f054b6416f1d0cf9.zip
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
Diffstat (limited to 'pkgs/applications/misc/xfontsel')
-rw-r--r--pkgs/applications/misc/xfontsel/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/applications/misc/xfontsel/default.nix b/pkgs/applications/misc/xfontsel/default.nix
index 222d8c412ce..7b8f4ae914b 100644
--- a/pkgs/applications/misc/xfontsel/default.nix
+++ b/pkgs/applications/misc/xfontsel/default.nix
@@ -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"
   '';
 }