summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2010-11-05 14:35:18 +0000
committerPeter Simons <simons@cryp.to>2010-11-05 14:35:18 +0000
commitceb246865719522696e74cfb3e87a2993785de10 (patch)
treebca338b0faf19a1fba4497cd3d95987defb368c0
parentc13e0307b607eebc52e1f22d58f258bb3790346f (diff)
downloadnixpkgs-ceb246865719522696e74cfb3e87a2993785de10.tar
nixpkgs-ceb246865719522696e74cfb3e87a2993785de10.tar.gz
nixpkgs-ceb246865719522696e74cfb3e87a2993785de10.tar.bz2
nixpkgs-ceb246865719522696e74cfb3e87a2993785de10.tar.lz
nixpkgs-ceb246865719522696e74cfb3e87a2993785de10.tar.xz
nixpkgs-ceb246865719522696e74cfb3e87a2993785de10.tar.zst
nixpkgs-ceb246865719522696e74cfb3e87a2993785de10.zip
pkgs/tools/text/diffutils: fixed location of "info" and "man" directories
svn path=/nixpkgs/trunk/; revision=24602
-rw-r--r--pkgs/tools/text/diffutils/default.nix11
1 files changed, 9 insertions, 2 deletions
diff --git a/pkgs/tools/text/diffutils/default.nix b/pkgs/tools/text/diffutils/default.nix
index 44b7715607c..37646cede1d 100644
--- a/pkgs/tools/text/diffutils/default.nix
+++ b/pkgs/tools/text/diffutils/default.nix
@@ -2,17 +2,24 @@
 
 stdenv.mkDerivation {
   name = "diffutils-2.8.1";
-  
+
   src = fetchurl {
     url = mirror://gnu/diffutils/diffutils-2.8.1.tar.gz;
     md5 = "71f9c5ae19b60608f6c7f162da86a428";
   };
-  
+
+  preConfigure = ''
+    configureFlags="--infodir=$out/share/info --mandir=$out/share/man"
+  '';
+
   /* If no explicit coreutils is given, use the one from stdenv. */
   buildInputs = [coreutils];
 
   meta = {
     homepage = http://www.gnu.org/software/diffutils/diffutils.html;
     description = "Commands for showing the differences between files (diff, cmp, etc.)";
+
+    platforms = stdenv.lib.platforms.all;
+    maintainers = [ stdenv.lib.maintainers.simons ];
   };
 }