gnu: phockup: Properly patch exiftool.

* gnu/packages/image.scm (phockup)[arguments]: Fix 'configure phase to catch all occurrences.
This commit is contained in:
Tobias Geerinckx-Rice 2023-01-22 01:00:08 +01:00
parent 21a4e66f02
commit 5618153e73
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -2428,9 +2428,10 @@ (define-public phockup
(modify-phases %standard-phases
(add-after 'unpack 'configure
(lambda* (#:key inputs #:allow-other-keys)
(substitute* (list "src/dependency.py" "src/exif.py")
(("'exiftool'")
(string-append "'" (search-input-file inputs "/bin/exiftool") "'")))))
(substitute* (list "src/dependency.py"
"src/exif.py")
(("'exiftool")
(string-append "'" (search-input-file inputs "bin/exiftool"))))))
(add-before 'install 'check
(lambda _
(invoke "pytest")))