Subject: Re: bug#52559: guix pull fails with `Unknown command: nix fish: nix show-derivation "~/.fr-sqOEpp/....-module-import-compiled.drv"

From: Maxime Devos <[email-masked]>
Date: Thu, 16 Dec 2021 21:50:11 +0000

Grigory Shepelev schreef op vr 17-12-2021 om 00:12 [+0300]:
> Extended research. Lead to 
> 
> ERROR: In procedure primitive-load:
> In procedure scm_lreadr: /gnu/store/l375q7zi0k894a03xdfsq8qsm5nh2m97-
> module-import/guix/build/utils.scm:822:1: illegal character in escape
> sequence: #\return
>
> Possibly related to https://www.mail-archive.com/help-
> [email-masked]/msg12265.html

Here's a minimal reproducer:

Run the following in a REPL:
(call-with-input-string "\"Hello\\\rcarriage return!\"" read).

Alternatively, run guile -l c.scm on the attached file.

In both cases, you'll get
> invalid character in escape sequence: #\return
> > > 

Greetings,
Maxime