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" (substitute* "translations/translations.pro"
(("LRELEASE =.*") (("LRELEASE =.*")
(string-append "LRELEASE = " (string-append "LRELEASE = "
(assoc-ref inputs "qttools-5") (search-input-file inputs "/bin/lrelease")
"/bin/lrelease\n"))) "\n")))
(let ((out (assoc-ref outputs "out"))) (let ((out (assoc-ref outputs "out")))
(invoke "qmake" (invoke "qmake"
(string-append "PREFIX=" out)))))))) (string-append "PREFIX=" out))))))))