Hi, Vagrant Cascadian <[email protected]> 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’.
