gnu: phockup: Make exiftool substitution more specific.

* gnu/packages/image.scm (phockup)[arguments]: Make exiftool substitution in
configure phase more specific.
This commit is contained in:
Arun Isaac 2022-07-26 00:41:32 +05:30
parent e78bb31aa1
commit f55e83fa3d
No known key found for this signature in database
GPG key ID: 2E25EE8B61802BB3

View file

@ -11,7 +11,7 @@
;;; Copyright © 2016, 2017, 2018, 2019, 2020, 2021, 2022 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 20162022 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2016 Eric Bavier <bavier@member.fsf.org>
;;; Copyright © 2016, 2017, 2020, 2021 Arun Isaac <arunisaac@systemreboot.net>
;;; Copyright © 2016, 2017, 2020, 2021, 2022 Arun Isaac <arunisaac@systemreboot.net>
;;; Copyright © 2016, 2017 Kei Kebreau <kkebreau@posteo.net>
;;; Copyright © 2017 Nikita <nikita@n0.is>
;;; Copyright © 2017,2019,2020 Hartmut Goebel <h.goebel@crazy-compilers.com>
@ -2402,8 +2402,8 @@ (define-public phockup
(add-after 'unpack 'configure
(lambda* (#:key inputs #:allow-other-keys)
(substitute* (list "src/dependency.py" "src/exif.py")
(("exiftool")
(search-input-file inputs "/bin/exiftool")))))
(("'exiftool'")
(string-append "'" (search-input-file inputs "/bin/exiftool") "'")))))
(add-before 'install 'check
(lambda _
(invoke "pytest")))