3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

gnu: xonotic-data: Don't copy 1.2-GiB file to build directory.

* gnu/packages/games.scm (xonotic-data)[arguments]:
Extract SOURCE directly from the store.
This commit is contained in:
Tobias Geerinckx-Rice 2022-08-07 02:00:00 +02:00
parent 33ae2fb398
commit d21ddfc9d8
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -7779,8 +7779,7 @@ quotation from a collection of quotes.")
(xonotic (string-append out "/share/xonotic"))
(source (assoc-ref %build-inputs "source"))
(unzip (search-input-file %build-inputs "/bin/unzip")))
(copy-file source (string-append #$name "-" #$version ".zip"))
(invoke unzip (string-append #$name "-" #$version ".zip"))
(invoke unzip source)
(chdir "Xonotic")
(install-file "key_0.d0pk" xonotic)
(copy-recursively "data"