summary refs log tree commit diff
path: root/pkgs/development/python-modules/tarsnapper-path.patch
diff options
context:
space:
mode:
authorOliver Charles <ollie@ocharles.org.uk>2014-01-25 10:30:06 +0000
committerOliver Charles <ollie@ocharles.org.uk>2014-01-25 10:30:35 +0000
commit8ab1160079357ecf86cc920eb64f04fcfadef557 (patch)
tree8940285f3029322ea393d32af6f3ca1fcda99065 /pkgs/development/python-modules/tarsnapper-path.patch
parentc72ce740bc1ed4887a9ef5f1f31caeac50d2f8e9 (diff)
downloadnixlib-8ab1160079357ecf86cc920eb64f04fcfadef557.tar
nixlib-8ab1160079357ecf86cc920eb64f04fcfadef557.tar.gz
nixlib-8ab1160079357ecf86cc920eb64f04fcfadef557.tar.bz2
nixlib-8ab1160079357ecf86cc920eb64f04fcfadef557.tar.lz
nixlib-8ab1160079357ecf86cc920eb64f04fcfadef557.tar.xz
nixlib-8ab1160079357ecf86cc920eb64f04fcfadef557.tar.zst
nixlib-8ab1160079357ecf86cc920eb64f04fcfadef557.zip
pythonPackages.tarsnapper: New expression
Diffstat (limited to 'pkgs/development/python-modules/tarsnapper-path.patch')
-rw-r--r--pkgs/development/python-modules/tarsnapper-path.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/tarsnapper-path.patch b/pkgs/development/python-modules/tarsnapper-path.patch
new file mode 100644
index 000000000000..337ad49f9715
--- /dev/null
+++ b/pkgs/development/python-modules/tarsnapper-path.patch
@@ -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()