mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu: python-jupyter-client: Patch file name of 'ip'.
* gnu/packages/python-xyz.scm (python-jupyter-client)[arguments]: Add #:phases. [inputs]: New field.
This commit is contained in:
parent
dd9560a050
commit
ddc586ea5c
1 changed files with 13 additions and 1 deletions
|
@ -5122,7 +5122,19 @@ (define-public python-jupyter-client
|
|||
;; Tests fail because of missing native python kernel which I assume is
|
||||
;; provided by the ipython package, which we cannot use because it would
|
||||
;; cause a dependency cycle.
|
||||
(arguments `(#:tests? #f))
|
||||
(arguments
|
||||
`(#:tests? #f
|
||||
|
||||
#:phases (modify-phases %standard-phases
|
||||
(add-after 'unpack 'set-tool-file-names
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(let ((iproute (assoc-ref inputs "iproute")))
|
||||
(substitute* "jupyter_client/localinterfaces.py"
|
||||
(("'ip'")
|
||||
(string-append "'" iproute "/sbin/ip'")))
|
||||
#t))))))
|
||||
(inputs
|
||||
`(("iproute" ,iproute)))
|
||||
(propagated-inputs
|
||||
`(("python-pyzmq" ,python-pyzmq)
|
||||
("python-traitlets" ,python-traitlets)
|
||||
|
|
Loading…
Reference in a new issue