nckx pushed a commit to branch master
in repository guix.
commit 5618153e7346e838f20a4e5c042d97eb9ad57314
Author: Tobias Geerinckx-Rice <[email protected]>
AuthorDate: Sun Jan 22 01:00:08 2023 +0100
gnu: phockup: Properly patch exiftool.
* gnu/packages/image.scm (phockup)[arguments]: Fix 'configure phase to
catch all occurrences.
---
gnu/packages/image.scm | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm
index 195d127b31..0b57d88468 100644
--- a/gnu/packages/image.scm
+++ b/gnu/packages/image.scm
@@ -2428,9 +2428,10 @@ Wacom-style graphics tablets.")
(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")))