pkgs/applications/version-management/cvs: fixed location of "info" and "man" directories

svn path=/nixpkgs/trunk/; revision=24603
This commit is contained in:
Peter Simons 2010-11-05 14:35:22 +00:00
parent ceb2468657
commit a33ddc8047

View File

@ -10,14 +10,16 @@ stdenv.mkDerivation {
patches = [ ./getcwd-chroot.patch ]; patches = [ ./getcwd-chroot.patch ];
preConfigure = preConfigure = ''
# Fix location of info and man directories.
configureFlags="--infodir=$out/share/info --mandir=$out/share/man"
# Apply the Debian patches. # Apply the Debian patches.
'' for p in "debian/patches/"* for p in "debian/patches/"*; do
do echo "applying \`$p' ..."
echo "applying \`$p'..." patch --verbose -p1 < "$p"
patch --verbose -p1 < "$p" done
done '';
'';
buildInputs = [ nano ]; buildInputs = [ nano ];
@ -26,6 +28,6 @@ stdenv.mkDerivation {
description = "Concurrent Versions System - a source control system"; description = "Concurrent Versions System - a source control system";
platforms = stdenv.lib.platforms.all; platforms = stdenv.lib.platforms.all;
maintainers = []; maintainers = [ stdenv.lib.maintainers.simons ];
}; };
} }