Mark H Weaver writes: > Hi, > > Bone Baboon via Bug reports for GNU Guix <bug-guix@gnu.org> writes: >> On a x86_64 computer when I run `guix build --no-substitutes >> offlineimap` the build fails because the "test_ipv6_available" test >> fails. > > 'offlineimap' is the _only_ package in Guix that > depends on the 'python2-rfc6555' package, it's quite painless to work > around this particular issue using Guix's "--without-tests" package > transformation option. > > From the command line, you can simply do this: > > guix build offlineimap --without-tests=python2-rfc6555 > > Within an OS configuration, or within a profile "manifest" file (if you > use "guix package --manifest", which is highly recommended), you can use > the following Scheme expression in place of 'offlineimap': > > --8<---------------cut here---------------start------------->8--- > (let ((transform (options->transformation > '((without-tests . "python2-rfc6555"))))) > (transform offlineimap)) > --8<---------------cut here---------------end--------------->8--- > > Note that you'll also need to put "(use-modules (guix transformations))" > at the top of the file, to import the 'options->transformation' > procedure. > > Please let us know if this works for you.
Thank you I can build offlineimap with this command `guix build offlineimap --no-substitutes --without-tests=python2-rfc6555`. How would I refer to offlineimap (built without tests) in the configuration of a substitute server's client? The client is not building it's own packages and is instead relying on a substitute server to build offlineimap without tests.