gnu: python-invoke: Patch reference to bash.
* gnu/packages/python-xyz.scm (python-invoke)[arguments]: Patch the reference to 'bash' in the source. [inputs]: Add bash. Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
This commit is contained in:
parent
9d22c0ca39
commit
adf6380657
1 changed files with 13 additions and 1 deletions
|
@ -15267,7 +15267,19 @@ projects.")
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
;; XXX: Requires many dependencies that are not yet in Guix.
|
;; XXX: Requires many dependencies that are not yet in Guix.
|
||||||
`(#:tests? #f))
|
`(#:tests? #f
|
||||||
|
#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'fix-bash-path
|
||||||
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
|
(let ((bash (assoc-ref inputs "bash")))
|
||||||
|
(substitute* "invoke/config.py"
|
||||||
|
(("shell = \"/bin/bash\"")
|
||||||
|
(string-append "shell = \"" bash "/bin/bash\""))
|
||||||
|
)
|
||||||
|
#t))))))
|
||||||
|
(inputs
|
||||||
|
`(("bash" ,bash-minimal)))
|
||||||
(synopsis "Pythonic task execution")
|
(synopsis "Pythonic task execution")
|
||||||
(description
|
(description
|
||||||
"Invoke is a Python task execution tool and library, drawing inspiration
|
"Invoke is a Python task execution tool and library, drawing inspiration
|
||||||
|
|
Reference in a new issue