gnu: dxvk: Fix inputs and configure flag expansion.

* gnu/packages/wine.scm (dxvk)[arguments]: Unquote match.
[native-inputs]: Remove wine and dxvk32...
[inputs]: ...And add them here.
This commit is contained in:
Pierre Neidhardt 2019-11-02 12:01:49 +01:00
parent ab1c063ab0
commit 223492f350
No known key found for this signature in database
GPG key ID: 9BDCF497A4BBCC7F

View file

@ -585,9 +585,9 @@ (define-public dxvk
`(#:configure-flags (list "--cross-file"
(string-append (assoc-ref %build-inputs "source")
"/build-wine"
(match (%current-system)
("x86_64-linux" "64")
(_ "32"))
,(match (%current-system)
("x86_64-linux" "64")
(_ "32"))
".txt"))
#:phases
(modify-phases %standard-phases
@ -616,8 +616,9 @@ (define-public dxvk
(_ "../lib")))
(("x64") "../lib"))))))))
(native-inputs
`(("glslang" ,glslang)
("wine" ,(match (%current-system)
`(("glslang" ,glslang)))
(inputs
`(("wine" ,(match (%current-system)
("x86_64-linux" wine64)
(_ wine)))
,@(match (%current-system)