mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 20:34:52 +03:00
rdiff-backup: Fix nix expression.
svn path=/nixpkgs/trunk/; revision=29017
This commit is contained in:
parent
05f95c69c5
commit
174153238a
@ -1,4 +1,5 @@
|
|||||||
args: with args;
|
{stdenv, fetchurl, python, librsync, gnused }:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "rdiff-backup-1.1.14";
|
name = "rdiff-backup-1.1.14";
|
||||||
|
|
||||||
@ -7,9 +8,9 @@ stdenv.mkDerivation {
|
|||||||
sha256 = "0sh2kz90z47yfa9786dyn3q9ba1xcmjvd65rykvm7mg5apnrg27h";
|
sha256 = "0sh2kz90z47yfa9786dyn3q9ba1xcmjvd65rykvm7mg5apnrg27h";
|
||||||
};
|
};
|
||||||
|
|
||||||
phases = "installPhase";
|
phases = "unpackPhase installPhase";
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
python setup.py install --prefix=$out
|
python ./setup.py install --prefix=$out
|
||||||
sed -i $out/bin/rdiff-backup -e \
|
sed -i $out/bin/rdiff-backup -e \
|
||||||
"/import sys/ asys.path += [ \"$out/lib/python2.4/site-packages/\" ]"
|
"/import sys/ asys.path += [ \"$out/lib/python2.4/site-packages/\" ]"
|
||||||
'';
|
'';
|
||||||
|
@ -1227,10 +1227,7 @@ let
|
|||||||
|
|
||||||
replace = callPackage ../tools/text/replace { };
|
replace = callPackage ../tools/text/replace { };
|
||||||
|
|
||||||
/*
|
rdiff_backup = callPackage ../tools/backup/rdiff-backup { };
|
||||||
rdiff_backup = callPackage ../tools/backup/rdiff-backup {
|
|
||||||
python=python; };
|
|
||||||
*/
|
|
||||||
|
|
||||||
ripmime = callPackage ../tools/networking/ripmime {};
|
ripmime = callPackage ../tools/networking/ripmime {};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user