GNU bug report logs - #76138
[PATCH] gnu: emacs-stgit: Fix install location.

Previous Next

Package: guix-patches;

Reported by: Morgan Smith <Morgan.J.Smith <at> outlook.com>

Date: Sat, 8 Feb 2025 02:48:02 UTC

Severity: normal

Tags: patch

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

Bug is archived. No further changes may be made.

Full log


Message #11 received at 76138 <at> debbugs.gnu.org (full text, mbox):

From: Morgan Smith <Morgan.J.Smith <at> outlook.com>
To: ian <at> retrospec.tv
Cc: Morgan Smith <Morgan.J.Smith <at> outlook.com>, 76138 <at> debbugs.gnu.org
Subject: [PATCH v2] gnu: emacs-stgit: Fix install location.
Date: Sun,  9 Feb 2025 18:32:11 -0500
* gnu/packages/version-control.scm (emacs-stgit): Previously the files got
installed under a "contrib" sub-directory that does not work with our Emacs
configuration.  This fixes that.

Change-Id: Ic7c237476fd18f73dbfbde3368ceae4962ba9634
---
 gnu/packages/version-control.scm | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index 6e139e75d4..fc1ccdca38 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -2123,7 +2123,15 @@ (define-public emacs-stgit
     (name "emacs-stgit")
     (build-system emacs-build-system)
     (arguments
-     (list #:include '(list "contrib/stgit.el")))
+     (list
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-before 'install 'enter-lisp-directory
+            (lambda _
+              (chdir "contrib")))
+          (add-before 'install-license-files 'leave-lisp-directory
+            (lambda _
+              (chdir ".."))))))
     (synopsis "Emacs major mode for StGit interaction")
     (description "This package a interactive tool to interact with git
 branches using StGit.")
-- 
2.48.1





This bug report was last modified 161 days ago.

Previous Next


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