diff options
| author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2023-04-18 15:10:42 +0200 |
|---|---|---|
| committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2023-04-18 15:19:00 +0200 |
| commit | 42115d5d674893ddfbb962c409f0fadd5d642a2f (patch) | |
| tree | cc54e2b262f6b9255056afd746e2039e3fe2fa2b /gnu | |
| parent | 8796e6b2e39c03cab31c744a4816604be9bde1eb (diff) | |
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.
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/emacs-xyz.scm | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 8f553567773..5931a9e07de 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm | |||
| @@ -19460,6 +19460,21 @@ from within Elisp using a DSL similar to CSS selectors.") | |||
| 19460 | (base32 | 19460 | (base32 |
| 19461 | "0vjk8k5k9xsngk50nf611c4j0bikqn9l1y3m35s8y3knwqw22ii0")))) | 19461 | "0vjk8k5k9xsngk50nf611c4j0bikqn9l1y3m35s8y3knwqw22ii0")))) |
| 19462 | (build-system emacs-build-system) | 19462 | (build-system emacs-build-system) |
| 19463 | (arguments | ||
| 19464 | (list | ||
| 19465 | #:tests? #false ;FIXME: 8 out of 11 tests fail | ||
| 19466 | #:test-command #~(list "emacs" "-Q" "--batch" | ||
| 19467 | "-l" "envrc-tests.el" | ||
| 19468 | "-f" "ert-run-tests-batch-and-exit") | ||
| 19469 | #:phases | ||
| 19470 | #~(modify-phases %standard-phases | ||
| 19471 | (add-after 'unpack 'set-direnv-location | ||
| 19472 | (lambda* (#:key inputs #:allow-other-keys) | ||
| 19473 | (emacs-substitute-variables "envrc.el" | ||
| 19474 | ("envrc-direnv-executable" | ||
| 19475 | (search-input-file inputs "/bin/direnv")))))))) | ||
| 19476 | (inputs | ||
| 19477 | (list direnv)) | ||
| 19463 | (propagated-inputs | 19478 | (propagated-inputs |
| 19464 | (list emacs-inheritenv)) | 19479 | (list emacs-inheritenv)) |
| 19465 | (home-page "https://github.com/purcell/envrc") | 19480 | (home-page "https://github.com/purcell/envrc") |
