all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#57093: 'guix style --whole-file' hangs indefinitely if parenthesis is unmatched
@ 2022-08-09 21:25 Mohammed AMAR-BENSABER
  2022-08-10 14:56 ` Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Mohammed AMAR-BENSABER @ 2022-08-09 21:25 UTC (permalink / raw)
  To: 57093

[-- Attachment #1: Type: text/plain, Size: 1233 bytes --]

Hi,

guix style --whole-file package.scm hangs indefinitely if parenthesis is 
unmatched. Relevant commit a15542d26df42dabdb5e2f76d150ae200230c3b0.

Here is an example package definition with missing a parenthesis. 

(define-public vim-asyncrun
  (package
    (name "vim-asyncrun")
    (version "2.8.6")
    (source (origin
              (method git-fetch)
              (uri (git-reference
                     (url "https://github.com/skywind3000/asyncrun.vim")
                     (commit version)))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "11zcw0sll6qg6ha0rr6n1cw5v73azvf7ycwn9lgiwa5cj7rrqjf4"))))
    (build-system copy-build-system)
    (arguments
     '(#:install-plan
       '(("plugin" "share/vim/vimfiles/")
         ("doc/" "share/vim/vimfiles/doc" #:include ("asyncrun.txt")))))
    (home-page "https://github.com/skywind3000/asyncrun.vim")
    (synopsis "Run Async Shell Commands in Vim")
    (description "This plugin takes the advantage of new APIs in Vim 8 (and
NeoVim) to enable you to run shell commands in background and read output in 
the
quickfix window in realtime.")
    (license license:expat))

-- 
Mohammed 'Renken' AMAR-BENSABER

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#57093: 'guix style --whole-file' hangs indefinitely if parenthesis is unmatched
  2022-08-09 21:25 bug#57093: 'guix style --whole-file' hangs indefinitely if parenthesis is unmatched Mohammed AMAR-BENSABER
@ 2022-08-10 14:56 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2022-08-10 14:56 UTC (permalink / raw)
  To: Mohammed AMAR-BENSABER; +Cc: 57093-done

Hi Mohammed,

Mohammed AMAR-BENSABER <renken@shione.net> skribis:

> guix style --whole-file package.scm hangs indefinitely if parenthesis is 
> unmatched. Relevant commit a15542d26df42dabdb5e2f76d150ae200230c3b0.

Oops, fixed in ebda12e1d2c64480bb7d5977e580d8b2eabeb503:

--8<---------------cut here---------------start------------->8---
$ ./pre-inst-env guix style -f /tmp/t.scm
/tmp/t.scm:25:0: error: unexpected end of file
hint: Did you forget a closing parenthesis?
--8<---------------cut here---------------end--------------->8---

Thanks for your report!

Ludo’.




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-08-10 14:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-09 21:25 bug#57093: 'guix style --whole-file' hangs indefinitely if parenthesis is unmatched Mohammed AMAR-BENSABER
2022-08-10 14:56 ` Ludovic Courtès

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.