guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: guix-commits
Subject: 06/13: gnu: xonotic-data: Don't copy 1.2-GiB file to build directory.
Date: Sat, 13 Aug 2022 15:28:54 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit d21ddfc9d884f045afa6db581e852c525c67ef35
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Sun Aug 7 02:00:00 2022 +0200

    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.
---
 gnu/packages/games.scm | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 055c9ba9b7..19bc495b00 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -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"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]