rdiff-backup: Fix nix expression.

svn path=/nixpkgs/trunk/; revision=29017
This commit is contained in:
Nicolas Pierron 2011-09-05 08:32:55 +00:00
parent 05f95c69c5
commit 174153238a
2 changed files with 5 additions and 7 deletions

View File

@ -1,4 +1,5 @@
args: with args;
{stdenv, fetchurl, python, librsync, gnused }:
stdenv.mkDerivation {
name = "rdiff-backup-1.1.14";
@ -7,9 +8,9 @@ stdenv.mkDerivation {
sha256 = "0sh2kz90z47yfa9786dyn3q9ba1xcmjvd65rykvm7mg5apnrg27h";
};
phases = "installPhase";
phases = "unpackPhase installPhase";
installPhase = ''
python setup.py install --prefix=$out
python ./setup.py install --prefix=$out
sed -i $out/bin/rdiff-backup -e \
"/import sys/ asys.path += [ \"$out/lib/python2.4/site-packages/\" ]"
'';

View File

@ -1227,10 +1227,7 @@ let
replace = callPackage ../tools/text/replace { };
/*
rdiff_backup = callPackage ../tools/backup/rdiff-backup {
python=python; };
*/
rdiff_backup = callPackage ../tools/backup/rdiff-backup { };
ripmime = callPackage ../tools/networking/ripmime {};