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


View this message in rfc822 format

From: Morgan Smith <Morgan.J.Smith <at> outlook.com>
To: 76138 <at> debbugs.gnu.org
Cc: Morgan Smith <Morgan.J.Smith <at> outlook.com>
Subject: [bug#76138] [PATCH] gnu: emacs-stgit: Fix install location.
Date: Fri,  7 Feb 2025 21:41:37 -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 | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index 6e139e75d4..bc99d6bdfd 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -2123,7 +2123,12 @@ (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"))))))
     (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.