By adding needed module to python sys.path. Fixes this:
$ rdiff-backup-statistics backup-dir
Traceback (most recent call last):
File "/home/bfo/.nix-profile/bin/rdiff-backup-statistics", line 24, in
<module>
from rdiff_backup import connection, regress, rpath, Globals,
restore, \
ImportError: No module named rdiff_backup
Description
Languages
Nix
96.3%
Shell
1.8%
Python
0.7%
Perl
0.4%
C
0.3%
Other
0.1%