gnu: emacs-ess: Relocate the etc directory so that ESS can find it.
* gnu/packages/emacs.scm (emacs-ess): Relocate the etc directory so that ESS can find it.
This commit is contained in:
parent
c98f9c5296
commit
eaff063aa0
|
@ -3209,10 +3209,13 @@ E-Prime forbids the use of the \"to be\" form to strengthen your writing.")
|
||||||
"0w7mbbajn377gdmvnd21mpyr368b2ia46gq6cb99y4y5rspf9pcg"))))
|
"0w7mbbajn377gdmvnd21mpyr368b2ia46gq6cb99y4y5rspf9pcg"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
|
(let ((base-directory "/share/emacs/site-lisp/guix.d/ess"))
|
||||||
`(#:tests? #f ; There is no test suite.
|
`(#:tests? #f ; There is no test suite.
|
||||||
#:make-flags (list (string-append "PREFIX=" %output)
|
#:make-flags (list (string-append "PREFIX=" %output)
|
||||||
(string-append "LISPDIR=" %output
|
(string-append "ETCDIR=" %output "/"
|
||||||
"/share/emacs/site-lisp/guix.d/ess"))
|
,base-directory "/etc")
|
||||||
|
(string-append "LISPDIR=" %output "/"
|
||||||
|
,base-directory))
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(delete 'configure)
|
(delete 'configure)
|
||||||
|
@ -3224,7 +3227,7 @@ E-Prime forbids the use of the \"to be\" form to strengthen your writing.")
|
||||||
;; FIXME: the texlive-union insists on regenerating fonts. It stores
|
;; FIXME: the texlive-union insists on regenerating fonts. It stores
|
||||||
;; them in HOME, so it needs to be writeable.
|
;; them in HOME, so it needs to be writeable.
|
||||||
(add-before 'build 'set-HOME
|
(add-before 'build 'set-HOME
|
||||||
(lambda _ (setenv "HOME" "/tmp") #t)))))
|
(lambda _ (setenv "HOME" "/tmp") #t))))))
|
||||||
(inputs
|
(inputs
|
||||||
`(("emacs" ,emacs-minimal)
|
`(("emacs" ,emacs-minimal)
|
||||||
("r-minimal" ,r-minimal)))
|
("r-minimal" ,r-minimal)))
|
||||||
|
|
Loading…
Reference in New Issue