gnu: usync: Patch shebang.
* gnu/packages/sync.scm (usync)[propagated-inputs]: Move SCSH to... [inputs]: ... here. New field. [arguments]: Add #:phases.
This commit is contained in:
parent
061256da09
commit
8784b52a9a
|
@ -2,7 +2,7 @@
|
||||||
;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020 Efraim Flashner <efraim@flashner.co.il>
|
;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020 Efraim Flashner <efraim@flashner.co.il>
|
||||||
;;; Copyright © 2017 Ricardo Wurmus <rekado@elephly.net>
|
;;; Copyright © 2017 Ricardo Wurmus <rekado@elephly.net>
|
||||||
;;; Copyright © 2018, 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
|
;;; Copyright © 2018, 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
|
||||||
;;; Copyright © 2018 Ludovic Courtès <ludo@gnu.org>
|
;;; Copyright © 2018, 2021 Ludovic Courtès <ludo@gnu.org>
|
||||||
;;; Copyright © 2018, 2019, 2020 Nicolas Goaziou <mail@nicolasgoaziou.fr>
|
;;; Copyright © 2018, 2019, 2020 Nicolas Goaziou <mail@nicolasgoaziou.fr>
|
||||||
;;; Copyright © 2019 Clément Lassieur <clement@lassieur.org>
|
;;; Copyright © 2019 Clément Lassieur <clement@lassieur.org>
|
||||||
;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net>
|
;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net>
|
||||||
|
@ -335,13 +335,19 @@ (define-public usync
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "16i1q8f0jmfd43rb8d70l2b383vr5ib4kh7iq3yd345q7xjz9c2j"))))
|
(base32 "16i1q8f0jmfd43rb8d70l2b383vr5ib4kh7iq3yd345q7xjz9c2j"))))
|
||||||
(build-system copy-build-system)
|
(build-system copy-build-system)
|
||||||
|
(inputs
|
||||||
|
`(("scsh" ,scsh)))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
`(("scsh" ,scsh)
|
`(("rsync" ,rsync)
|
||||||
("rsync" ,rsync)
|
|
||||||
("unison" ,unison)))
|
("unison" ,unison)))
|
||||||
(arguments
|
(arguments
|
||||||
`(#:install-plan
|
`(#:install-plan '(("usync" "bin/usync"))
|
||||||
'(("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")
|
(home-page "https://github.com/ebzzry/usync")
|
||||||
(synopsis "Command line site-to-site synchronization tool")
|
(synopsis "Command line site-to-site synchronization tool")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Reference in a new issue