mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-01 00:52:55 -05:00
gnu: emacs-envrc: Add DIRENV as an input.
* gnu/packages/emacs-xyz.scm (emacs-envrc)[arguments]<#:phases>: Set direnv executable location. <#:tests?, #:test-command>: Tentatively run tests, without success. At least, they do not complain "direnv" executable is nowhere to be found. [inputs]: Add DIRENV.
This commit is contained in:
parent
8796e6b2e3
commit
42115d5d67
1 changed files with 15 additions and 0 deletions
|
@ -19460,6 +19460,21 @@ (define-public emacs-envrc
|
|||
(base32
|
||||
"0vjk8k5k9xsngk50nf611c4j0bikqn9l1y3m35s8y3knwqw22ii0"))))
|
||||
(build-system emacs-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:tests? #false ;FIXME: 8 out of 11 tests fail
|
||||
#:test-command #~(list "emacs" "-Q" "--batch"
|
||||
"-l" "envrc-tests.el"
|
||||
"-f" "ert-run-tests-batch-and-exit")
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'set-direnv-location
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(emacs-substitute-variables "envrc.el"
|
||||
("envrc-direnv-executable"
|
||||
(search-input-file inputs "/bin/direnv"))))))))
|
||||
(inputs
|
||||
(list direnv))
|
||||
(propagated-inputs
|
||||
(list emacs-inheritenv))
|
||||
(home-page "https://github.com/purcell/envrc")
|
||||
|
|
Loading…
Reference in a new issue