GNU bug report logs - #78315
[PATCH emacs-team 00/53] More fixes, and a lot of style improvements.

Previous Next

Package: guix-patches;

Reported by: Nicolas Graves <ngraves <at> ngraves.fr>

Date: Thu, 8 May 2025 12:49:02 UTC

Severity: normal

Tags: patch

Done: Ian Eure <ian <at> retrospec.tv>

Full log


View this message in rfc822 format

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 78315 <at> debbugs.gnu.org
Cc: Nicolas Graves <ngraves <at> ngraves.fr>
Subject: [bug#78315] [PATCH v3 51/53] gnu: emacs-chess: Use elpa-directory.
Date: Sun, 18 May 2025 10:16:50 +0200
* gnu/packages/emacs-xyz.scm (emacs-chess)[arguments]<phases>: Use
elpa-directory.
---
 gnu/packages/emacs-xyz.scm | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index ef26554d76..520184e4d6 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -13629,11 +13629,9 @@ (define-public emacs-chess
       #~(modify-phases %standard-phases
           (add-after 'install 'install-pieces
             (lambda _
-              (let ((pieces
-                     (string-append #$output "/share/emacs/site-lisp/chess-"
-                                    #$version "/pieces")))
-                (mkdir-p pieces)
-                (copy-recursively "pieces" pieces)))))))
+              (copy-recursively
+               "pieces"
+               (string-append (elpa-directory #$output) "/pieces")))))))
     (home-page "https://elpa.gnu.org/packages/chess.html")
     (synopsis "Play chess in GNU Emacs")
     (description
-- 
2.49.0





This bug report was last modified 21 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.