gnu: tiled: Fix build.

Fixes <https://issues.guix.gnu.org/57048>.

* gnu/packages/game-development.scm (tiled)[arguments]:
Use 'search-input-file' to locate 'lrelease'.
This commit is contained in:
宋文武 2022-08-08 10:15:13 +08:00
parent eed987855c
commit ee216d16ef
No known key found for this signature in database
GPG key ID: D415BF253B515976

View file

@ -531,8 +531,8 @@ (define-public tiled
(substitute* "translations/translations.pro"
(("LRELEASE =.*")
(string-append "LRELEASE = "
(assoc-ref inputs "qttools-5")
"/bin/lrelease\n")))
(search-input-file inputs "/bin/lrelease")
"\n")))
(let ((out (assoc-ref outputs "out")))
(invoke "qmake"
(string-append "PREFIX=" out))))))))