me
/
guix
Archived
1
0
Fork 0

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.
master
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
1 changed files with 1 additions and 2 deletions

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"