gnu: emacs-pyvenv: Fix build.

* gnu/packages/emacs-xyz.scm (emacs-pyvenv)[#:phases]: Add ‘ert-number-tests’.
This commit is contained in:
Liliana Marie Prikler 2023-09-15 21:03:21 +02:00
parent 73388a1a19
commit 3c7cbaf461
No known key found for this signature in database
GPG key ID: 442A84B8C70E2F87

View file

@ -14124,7 +14124,11 @@ (define-public emacs-pyvenv
(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