gnu: teeworlds: Fix install phase on i386 architecture.

* gnu/packages/games.scm (teeworlds)[arguments]: Fix install phase on i386
architecture.
This commit is contained in:
Oleg Pykhalov 2020-01-09 04:08:30 +03:00
parent d5971d667b
commit 076fe8462a
No known key found for this signature in database
GPG key ID: 167F8EA5001AFA9C

View file

@ -4580,7 +4580,9 @@ (define (use-latest-json-parser file)
(let* ((arch ,(system->linux-architecture
(or (%current-target-system)
(%current-system))))
(build (string-append "build/" arch "/release/"))
(build (string-append "build/" (if (string=? arch "i386")
"x86" arch)
"/release/"))
(data-built (string-append build "data/"))
(out (assoc-ref outputs "out"))
(bin (string-append out "/bin/"))