summary refs log tree commit diff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2022-01-02 11:41:04 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2022-01-02 11:46:33 +0100
commit66f86ebb744bcc6f6a090a715961db0599571965 (patch)
tree742bc4d6558e3d7136ab5599f6593c11006f2376
parenta655d731e2c1bb912aa52b6e00b0d69394aa2a3b (diff)
downloadguix-66f86ebb744bcc6f6a090a715961db0599571965.tar.gz
gnu: emacs-with-editor: Update to 3.1.0.
* gnu/packages/emacs-xyz.scm (emacs-with-editor): Update to 3.1.0.
[arguments]<#:phases>: Add phases to mirror upstream directory layout
modification.
-rw-r--r--gnu/packages/emacs-xyz.scm13
1 files changed, 9 insertions, 4 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index f838910b24..d23469f817 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -674,7 +674,7 @@ configuration files, such as @file{.gitattributes}, @file{.gitignore}, and
 (define-public emacs-with-editor
   (package
     (name "emacs-with-editor")
-    (version "3.0.5")
+    (version "3.1.0")
     (source
      (origin
        (method git-fetch)
@@ -683,15 +683,20 @@ configuration files, such as @file{.gitattributes}, @file{.gitignore}, and
              (commit (string-append "v" version))))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "1pynm4ng4rki2b2ka5dz01p66ygghk69mldsfbxs81d52jqfnx8f"))))
+        (base32 "0m4ckp2ljnkws0bhg1wxlhqdln8kq33qg00qmhhik8ihh02sywnl"))))
     (build-system emacs-build-system)
     (arguments
      `(#:phases
        (modify-phases %standard-phases
+         (add-before 'install 'enter-lisp-directory
+           (lambda _
+             (chdir "lisp")))
          (add-before 'install 'make-info
            (lambda _
-             (invoke "makeinfo" "--no-split"
-                     "-o" "with-editor.info" "with-editor.texi"))))))
+             (with-directory-excursion "../docs"
+               (invoke "makeinfo" "--no-split"
+                       "-o" "with-editor.info" "with-editor.texi")
+               (install-file "with-editor.info" "../lisp")))))))
     (native-inputs
      (list texinfo))
     (propagated-inputs