summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-12-29 16:11:43 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-12-29 16:11:43 +0100
commitc85a4dc93238960f692ddfc28cb280802933be72 (patch)
tree5db6c5ae65d3e936afc2bb8ed61c6b95456ee9bb /gnu/packages
parent2be274915023cdc0f4b0f4a5ab3690f53c2156c4 (diff)
downloadguix-c85a4dc93238960f692ddfc28cb280802933be72.tar.gz
gnu: emacs-company-auctex: Fix build.
* gnu/packages/emacs-xyz.scm (emacs-company-auctex)[version]: Use version tag
from main file.
[arguments]<#:phases>: Fix "Setting current directory: No such file or
directory, /homeless-shelter/".
[propagated-inputs]: Re-order inputs alphabetically.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/emacs-xyz.scm27
1 files changed, 16 insertions, 11 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index f635bf85a7..04542b028d 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -6816,19 +6816,24 @@ SuperCollider is a platform for audio synthesis and algorithmic composition.")
         (revision "1"))
     (package
       (name "emacs-company-auctex")
-      (version (git-version "0" revision commit))
-      (source (origin
-                (method git-fetch)
-                (uri (git-reference
-                      (url "https://github.com/alexeyr/company-auctex")
-                      (commit commit)))
-                (file-name (git-file-name name version))
-                (sha256
-                 (base32
-                  "10qn7frn5wcmrlci3v6iliqzj7r9dls87h9zp3xkgrgn4bqprfp8"))))
+      (version (git-version "0.1" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/alexeyr/company-auctex")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "10qn7frn5wcmrlci3v6iliqzj7r9dls87h9zp3xkgrgn4bqprfp8"))))
       (build-system emacs-build-system)
+      (arguments
+       `(#:phases
+         (modify-phases %standard-phases
+           (add-before 'build 'set-home
+             (lambda _ (setenv "HOME" "/tmp"))))))
       (propagated-inputs
-       (list emacs-yasnippet emacs-auctex emacs-company))
+       (list emacs-auctex emacs-company emacs-yasnippet))
       (home-page "https://github.com/alexeyr/company-auctex/")
       (synopsis "Completion for @code{AUCTeX}")
       (description