nixpkgs/pkgs/applications/version-management/cvs/default.nix
Ludovic Courtès 98b73c1306 cvs: Fix getcwd() from Gnulib so that it works in chroots.
svn path=/nixpkgs/trunk/; revision=19564
2010-01-20 11:08:50 +00:00

24 lines
508 B
Nix

{ stdenv, fetchurl, nano }:
stdenv.mkDerivation {
name = "cvs-1.12.13";
src = fetchurl {
url = http://ftp.gnu.org/non-gnu/cvs/source/feature/1.12.13/cvs-1.12.13.tar.bz2;
sha256 = "0pjir8cwn0087mxszzbsi1gyfc6373vif96cw4q3m1x6p49kd1bq";
};
patches = [ ./getcwd-chroot.patch ];
preConfigure =
# Apply the Debian patches.
'' for p in "debian/patches/"*
do
echo "applying \`$p'..."
patch --verbose -p1 < "$p"
done
'';
buildInputs = [ nano ];
}