gnu: phockup: Properly patch exiftool.
* gnu/packages/image.scm (phockup)[arguments]: Fix 'configure phase to catch all occurrences.
This commit is contained in:
parent
21a4e66f02
commit
5618153e73
1 changed files with 4 additions and 3 deletions
|
@ -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")))
|
||||
|
|
Loading…
Reference in a new issue