From d21ddfc9d884f045afa6db581e852c525c67ef35 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sun, 7 Aug 2022 02:00:00 +0200 Subject: [PATCH] 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"