Hey Edison,
One easy way to do this is to just put your package definition
in
config.scm, above your operating system definition. I haven't
tried it with a shell, but the basic idea would be to have
something
like this:
(define-public xonsh
... your package definition ...)
(operating-system
... other bits ...
(users (cons (user-account
... other bits ...
(shell (file-append xonsh "/bin/xonsh")))
%base-user-accounts))
... other bits ...)
Another way to do it would be to submit a patch updating xonsh
to be
included in Guix, which would also benefit all other Guix users.
Carlo
On Wed, May 20 2020, Edison Ibáñez wrote:
Regards,
I currently use xonsh as my user's shell, but the default
version in
GuixSD is 0.6.2 and the latest available is 0.9.18.
I wrote a file to install the latest version of this package
but I
cannot set this version as my user's default shell.
There is a way to update xonsh in the config.scm file to the
latest
available version.
Thank you
– Edison Ibáñez
One Emacs to rule them all