Ludovic Courtès (2015-10-30 19:49 +0300) wrote: > Alex Kost skribis: > >> As suggested by Ludovic on IRC, after this patch, build log files (from >> /var/log/guix/drvs) will be displayed in a 'guix-build-log-mode'. >> >> I'm not sure about regexp though: are these files always "bz2" and >> ".../XX/XXXXX-30-more-characters-XXXXX/..."? > > It’s not necessarily bz2, see ‘guix-daemon --disable-log-compression’. Thanks for the pointer, now I see. > The regexp should match 32 characters of ‘%nix-base32-chars’ in (guix > base32) if we want to be pedantic. At first I didn't want to be so pedantic, but since these base32 chars are used in 'guix-prettify-regexp' anyway, I agree, thanks! > Could you update the patch accordingly? So I'm attaching 2 patches: one for adding a regexp to match a hash character and another for adding 'guix-build-log-mode' to 'auto-mode-alist'.