gnu: phockup: Test exiftool patching.
* gnu/packages/image.scm (phockup)[arguments]: Unset PATH during tests.
This commit is contained in:
parent
5618153e73
commit
0d03601931
@ -2434,7 +2434,12 @@ Wacom-style graphics tablets.")
|
||||
(string-append "'" (search-input-file inputs "bin/exiftool"))))))
|
||||
(add-before 'install 'check
|
||||
(lambda _
|
||||
(invoke "pytest")))
|
||||
;; Test without PATH to make sure ‘exiftool’ is properly found.
|
||||
(let ((path (getenv "PATH"))
|
||||
(pytest (which "pytest")))
|
||||
(setenv "PATH" "")
|
||||
(invoke pytest)
|
||||
(setenv "PATH" path))))
|
||||
(add-after 'install 'install-bin
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let ((out (assoc-ref outputs "out")))
|
||||
|
Loading…
Reference in New Issue
Block a user