mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-24 20:02:58 +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 {
|
||||
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/\" ]"
|
||||
'';
|
||||
|
@ -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 {};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user