summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLiliana Marie Prikler <liliana.prikler@gmail.com>2023-09-15 21:03:21 +0200
committerLiliana Marie Prikler <liliana.prikler@gmail.com>2023-09-15 21:03:21 +0200
commit3c7cbaf461919c8c11185b2a040cb152797c28d7 (patch)
tree9a90226a44a9a697314f150d79a177779afe211a
parent73388a1a19787f8be011a25fd497e48fef9b3aba (diff)
gnu: emacs-pyvenv: Fix build.
* gnu/packages/emacs-xyz.scm (emacs-pyvenv)[#:phases]: Add ‘ert-number-tests’.
-rw-r--r--gnu/packages/emacs-xyz.scm6
1 files changed, 5 insertions, 1 deletions
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