From 5487ddac2279d7d1200d558864d7c063a39de1c6 Mon Sep 17 00:00:00 2001 From: Brett Gilio Date: Sun, 15 Dec 2019 14:58:18 -0600 Subject: [PATCH] gnu: emacs-find-file-in-project: Update to 5.7.7. * gnu/packages/emacs-xyz.scm (emacs-find-file-in-project): Update to 5.7.7. [arguments]: Modify tests to use ert. --- gnu/packages/emacs-xyz.scm | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index eb3996d6e3..917dd57a3a 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -6482,7 +6482,7 @@ (define-public emacs-mocker (define-public emacs-find-file-in-project (package (name "emacs-find-file-in-project") - (version "5.4.7") + (version "5.7.7") (source (origin (method git-fetch) (uri (git-reference @@ -6491,19 +6491,13 @@ (define-public emacs-find-file-in-project (file-name (git-file-name name version)) (sha256 (base32 - "1sdnyqv69mipbgs9yax88m9b6crsa59rjhwrih197pifl4089awr")))) + "1skjbh7m0cck2rwmgzrrds51gipqf1jqghyfx15drc1n6kwivx3h")))) (build-system emacs-build-system) (arguments - `(#:phases - (modify-phases %standard-phases - (add-before 'check 'set-shell - ;; Otherwise Emacs shell-file-name is set to "/bin/sh", which doesn't - ;; work. - (lambda _ - (setenv "SHELL" (which "sh")) - #t))) - #:tests? #t - #:test-command '("./tests/test.sh"))) + `(#:tests? #t + #:test-command '("ert-runner" "tests"))) + (native-inputs + `(("ert-runner" ,emacs-ert-runner))) (home-page "https://github.com/technomancy/find-file-in-project") (synopsis "File/directory finder for Emacs") (description "@code{find-file-in-project} allows to find files or