diff options
author | Oliver Charles <ollie@ocharles.org.uk> | 2014-01-25 10:30:06 +0000 |
---|---|---|
committer | Oliver Charles <ollie@ocharles.org.uk> | 2014-01-25 10:30:35 +0000 |
commit | 8ab1160079357ecf86cc920eb64f04fcfadef557 (patch) | |
tree | 8940285f3029322ea393d32af6f3ca1fcda99065 /pkgs/development/python-modules/tarsnapper-path.patch | |
parent | c72ce740bc1ed4887a9ef5f1f31caeac50d2f8e9 (diff) | |
download | nixlib-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.patch | 20 |
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() |