pythonPackages.tarsnapper: New expression
This commit is contained in:
20
pkgs/development/python-modules/tarsnapper-path.patch
Normal file
20
pkgs/development/python-modules/tarsnapper-path.patch
Normal file
@@ -0,0 +1,20 @@
|
||||
diff --git a/src/tarsnapper/script.py b/src/tarsnapper/script.py
|
||||
index 737ac8d..52cc775 100644
|
||||
--- a/src/tarsnapper/script.py
|
||||
+++ b/src/tarsnapper/script.py
|
||||
@@ -48,7 +48,7 @@ class TarsnapBackend(object):
|
||||
"""
|
||||
``arguments`` is a single list of strings.
|
||||
"""
|
||||
- call_with = ['tarsnap']
|
||||
+ call_with = ['@NIXTARSNAPPATH@']
|
||||
for option in self.options:
|
||||
key = option[0]
|
||||
pre = "-" if len(key) == 1 else "--"
|
||||
@@ -499,4 +499,4 @@ def run():
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
- run()
|
||||
\ No newline at end of file
|
||||
+ run()
|
||||
Reference in New Issue
Block a user