From c85a4dc93238960f692ddfc28cb280802933be72 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Wed, 29 Dec 2021 16:11:43 +0100 Subject: 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. --- gnu/packages/emacs-xyz.scm | 27 ++++++++++++++++----------- 1 file changed, 16 insertions(+), 11 deletions(-) (limited to 'gnu') 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 -- cgit v1.2.3