diff options
author | Ludovic Courtès <[email protected]> | 2021-03-02 22:16:42 +0100 |
---|---|---|
committer | Ludovic Courtès <[email protected]> | 2021-03-02 23:12:36 +0100 |
commit | 8784b52a9adbdce4fe4699222a0618077ad66609 (patch) | |
tree | cbcc64e4d8f22a42eb359bc33fe455b9b9f4179a /gnu | |
parent | 061256da09f54861812ee5d99838e1ef60930c5b (diff) |
gnu: usync: Patch shebang.
* gnu/packages/sync.scm (usync)[propagated-inputs]: Move SCSH to...
[inputs]: ... here. New field.
[arguments]: Add #:phases.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/sync.scm | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/gnu/packages/sync.scm b/gnu/packages/sync.scm index d3caf4f13b..d7c9009f3b 100644 --- a/gnu/packages/sync.scm +++ b/gnu/packages/sync.scm @@ -2,7 +2,7 @@ ;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020 Efraim Flashner <[email protected]> ;;; Copyright © 2017 Ricardo Wurmus <[email protected]> ;;; Copyright © 2018, 2019, 2020 Tobias Geerinckx-Rice <[email protected]> -;;; Copyright © 2018 Ludovic Courtès <[email protected]> +;;; Copyright © 2018, 2021 Ludovic Courtès <[email protected]> ;;; Copyright © 2018, 2019, 2020 Nicolas Goaziou <[email protected]> ;;; Copyright © 2019 Clément Lassieur <[email protected]> ;;; Copyright © 2020 Jakub Kądziołka <[email protected]> @@ -335,13 +335,19 @@ and does not hamper local file system performance.") (sha256 (base32 "16i1q8f0jmfd43rb8d70l2b383vr5ib4kh7iq3yd345q7xjz9c2j")))) (build-system copy-build-system) + (inputs + `(("scsh" ,scsh))) (propagated-inputs - `(("scsh" ,scsh) - ("rsync" ,rsync) + `(("rsync" ,rsync) ("unison" ,unison))) (arguments - `(#:install-plan - '(("usync" "bin/usync")))) + `(#:install-plan '(("usync" "bin/usync")) + #:phases (modify-phases %standard-phases + (add-before 'install 'patch-usync-shebang + (lambda _ + (substitute* "usync" + (("/usr/bin/env scsh") + (which "scsh")))))))) (home-page "https://github.com/ebzzry/usync") (synopsis "Command line site-to-site synchronization tool") (description |