Skip to content
Snippets Groups Projects
Commit 665ce1eb authored by Alex Kost's avatar Alex Kost
Browse files

emacs: build-log: Improve regexp for the phase end.

* emacs/guix-build-log.el (guix-build-log-phase-end-regexp): Handle
  fractional number of seconds (like "0.8").
parent 23464bfd
No related branches found
No related tags found
No related merge requests found
...@@ -141,7 +141,7 @@ STATE is a symbol denoting how a build phase was ended. It should be ...@@ -141,7 +141,7 @@ STATE is a symbol denoting how a build phase was ended. It should be
(rx-to-string (rx-to-string
`(and bol "phase " (regexp ,guix-build-log-phase-name-regexp) `(and bol "phase " (regexp ,guix-build-log-phase-name-regexp)
" " (group (regexp ,state-rx)) " after " " " (group (regexp ,state-rx)) " after "
(group (1+ digit)) " seconds") (group (1+ (or digit "."))) " seconds")
t))) t)))
(defvar guix-build-log-phase-end-regexp (defvar guix-build-log-phase-end-regexp
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment