aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/games.scm
diff options
context:
space:
mode:
authorPkill -9 <pkill9@runbox.com>2018-11-12 03:14:15 +0000
committerLudovic Courtès <ludo@gnu.org>2018-11-19 23:11:38 +0100
commitcc661cb348818da41e7f6ef3dc86bbb66f1e14a1 (patch)
treeced123284ad620185c96f294be62efff6c604864 /gnu/packages/games.scm
parentc3276dbecb2bb40a4afb3a5e2f3b3ee477a93775 (diff)
downloadguix-cc661cb348818da41e7f6ef3dc86bbb66f1e14a1.tar
guix-cc661cb348818da41e7f6ef3dc86bbb66f1e14a1.tar.gz
gnu: xonotic: Symlink to xonotic data instead of copying into xonotic.
* gnu/packages/games.scm (xonotic)[arguments]: Modify the phase 'install-data so it creates a symlink to xonotic's data instead of copying it into the xonotic package. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages/games.scm')
-rw-r--r--gnu/packages/games.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 3679aa09c6..bc5d3d581b 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -5606,8 +5606,8 @@ quotation from a collection of quotes.")
(lambda* (#:key outputs inputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
(data (assoc-ref inputs "xonotic-data")))
- (copy-recursively (string-append data "/share/xonotic")
- (string-append out "/share/xonotic"))
+ (symlink (string-append data "/share/xonotic")
+ (string-append out "/share/xonotic"))
#t)))
(add-after 'install-binaries 'wrap-binaries
(lambda* (#:key outputs inputs #:allow-other-keys)