lilyp pushed a commit to branch emacs-team
in repository guix.
commit 3c7cbaf461919c8c11185b2a040cb152797c28d7
Author: Liliana Marie Prikler <[email protected]>
AuthorDate: Fri Sep 15 21:03:21 2023 +0200
gnu: emacs-pyvenv: Fix build.
* gnu/packages/emacs-xyz.scm (emacs-pyvenv)[#:phases]: Add
‘ert-number-tests’.
---
gnu/packages/emacs-xyz.scm | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 01c9273ac4..6b4c23290c 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -14124,7 +14124,11 @@ another window.")
(modify-phases %standard-phases
;; This phase incorrectly attempts to substitute "activate" and fails
;; doing so.
- (delete 'patch-el-files))
+ (delete 'patch-el-files)
+ (add-after 'unpack 'ert-number-tests
+ (lambda _
+ (ert-number-tests "test/pyvenv-hook-dir-test.el"
+ "pyvenv-hook-dir"))))
#:tests? #t
#:test-command '("ert-runner")))
(native-inputs