guix-commits
[Top][All Lists]
Advanced

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

03/03: gnu: xonotic: Symlink to xonotic data instead of copying into xon


From: Ludovic Courtès
Subject: 03/03: gnu: xonotic: Symlink to xonotic data instead of copying into xonotic.
Date: Mon, 19 Nov 2018 17:11:46 -0500 (EST)

civodul pushed a commit to branch master
in repository guix.

commit cc661cb348818da41e7f6ef3dc86bbb66f1e14a1
Author: Pkill -9 <address@hidden>
Date:   Mon Nov 12 03:14:15 2018 +0000

    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 <address@hidden>
---
 gnu/packages/games.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 3679aa0..bc5d3d5 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)



reply via email to

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