Subject: Re: bug#40488: Finance packages broken in recent Guix: error: beancount: unbound variable
From: Marius Bakke <[email-masked]>
To: Christopher Baines <[email-masked]>, [email-masked]
Date: Tue, 07 Apr 2020 18:48:27 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Christopher Baines <[email-masked]> writes:

> → guix describe
> Generation 181	Apr 07 2020 16:55:29	(current)
>   guix 1e96e6a
>     repository URL: https://git.savannah.gnu.org/git/guix.git
>     branch: master
>     commit: 1e96e6ac8bc0285cc2adfac4ac29b538b84d5dfc
>
> → guix build ledger
> Backtrace:
>            1 (primitive-load "/home/chris/.config/guix/current/bin/g…")
> In guix/ui.scm:
>   1936:12  0 (run-guix-command _ . _)
>
> guix/ui.scm:1936:12: In procedure run-guix-command:
> error: beancount: unbound variable

This is because of cross-module inheritance, which is not safe because
'beancount' may not be evaluated by the time 'emacs-beancount' is.

Fixed in 805d70214a1b22da70a7545cb1eb49bb5d7484d8, thanks!