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>
This commit is contained in:
Pkill -9 2018-11-12 03:14:15 +00:00 committed by Ludovic Courtès
parent c3276dbecb
commit cc661cb348
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 2 additions and 2 deletions

View File

@ -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)