Hi folks!
Recently I upgraded Guix on one of my managed servers, and I found it
doesn't work as before, since the (artanis third-party redis) module was
removed in the package definition:
--------------------------------cut----------------------------------
(substitute* '("artanis/lpc.scm"
"artanis/session.scm")
(("(#:use-module \\()artanis third-party (redis\\))" _
use-module redis)
(string-append use-module redis)))
---------------------------------end---------------------------------------
However, this is not the redefinition of guile-redis anymore, but for
symbols re-export to prevent name conflicts. The original internal name,
like "get" is too general (which is auto-generated by create-commands in
guile-redis), so we need to rename it to "redis-get" to be used in internal
Artanis.
If this module were removed, the memory cache based on LPC would not work
due to a symbol missing.
I guess it's removed because this module was to include the upstream
guile-redis when we didn't have Guix to install dependencies. However, the
third-party dependencies are completely decoupled now, and some stubs are
still left for namespace issues.
My advice is to remove these lines from the package definition to make it
work correctly.
Best regards.