* Trailing whitespace in /etc/guix/acl
@ 2023-04-24 2:50 Vagrant Cascadian
2023-05-03 21:02 ` Ludovic Courtès
0 siblings, 1 reply; 2+ messages in thread
From: Vagrant Cascadian @ 2023-04-24 2:50 UTC (permalink / raw)
To: guix-devel
[-- Attachment #1: Type: text/plain, Size: 868 bytes --]
I've noticed there is some trailing whitespace in /etc/guix/acl ... some
of it comes from the keys in etc/substitutes/ci.guix.gnu.org.pub ... but
some of it comes from whatever code assembles /etc/guix/acl (or rather,
whatever the symlink points to in /gnu/store).
I noticed this by trying to add the bordeaux substitute server for the
Debian package, and swear in the past I was able to do it
bit-for-bit-identical... but now with the inconsistent whitespace
differences, while they do not make it impossible, make it needlessly
more difficult than it needs to be, having to match the extraneous
whitespace exactly...
I have not figured out where in the code to look for all this stray
whitespace... maybe someone could take a peek? Maybe the lazy approach
might be to strip all trailing whitespace from the file after generating
it?
Thanks!
live well,
vagrant
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Trailing whitespace in /etc/guix/acl
2023-04-24 2:50 Trailing whitespace in /etc/guix/acl Vagrant Cascadian
@ 2023-05-03 21:02 ` Ludovic Courtès
0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2023-05-03 21:02 UTC (permalink / raw)
To: Vagrant Cascadian; +Cc: guix-devel
Hi,
Vagrant Cascadian <vagrant@debian.org> skribis:
> I've noticed there is some trailing whitespace in /etc/guix/acl ... some
> of it comes from the keys in etc/substitutes/ci.guix.gnu.org.pub ... but
> some of it comes from whatever code assembles /etc/guix/acl (or rather,
> whatever the symlink points to in /gnu/store).
>
> I noticed this by trying to add the bordeaux substitute server for the
> Debian package, and swear in the past I was able to do it
> bit-for-bit-identical... but now with the inconsistent whitespace
> differences, while they do not make it impossible, make it needlessly
> more difficult than it needs to be, having to match the extraneous
> whitespace exactly...
>
> I have not figured out where in the code to look for all this stray
> whitespace... maybe someone could take a peek? Maybe the lazy approach
> might be to strip all trailing whitespace from the file after generating
> it?
The “canonical sexps” in /etc/guix/acl are serialized by code in…
Libgcrypt! See (gcrypt pk-crypto) in Guile-Gcrypt.
Good luck! :-)
Ludo’.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-05-03 21:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-24 2:50 Trailing whitespace in /etc/guix/acl Vagrant Cascadian
2023-05-03 21:02 ` Ludovic Courtès
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).