mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-23 11:09:41 -05:00
gnu: python-ipykernel: Honor #:tests? flag.
* gnu/packages/python-xyz.scm (python-ipykernel)[arguments]: Adjust custom 'check phase to honor the #:tests? flag.
This commit is contained in:
parent
74bef015a7
commit
757c9425ba
1 changed files with 4 additions and 4 deletions
|
@ -8431,10 +8431,10 @@ (define-public python-ipykernel
|
|||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(replace 'check
|
||||
(lambda _
|
||||
(setenv "HOME" "/tmp")
|
||||
(invoke "pytest" "-v")
|
||||
#t))
|
||||
(lambda* (#:key tests? #:allow-other-keys)
|
||||
(when tests?
|
||||
(setenv "HOME" "/tmp")
|
||||
(invoke "pytest" "-v"))))
|
||||
(add-after 'install 'set-python-file-name
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
;; Record the absolute file name of the 'python' executable in
|
||||
|
|
Loading…
Reference in a new issue