Subject: Re: bug#35154: guix package --show=openssh gnu/packages/curl.scm:55:4: error: libssh2: unbound variable
From: Ludovic Courtès <[email-masked]>
To: Jack Hill <[email-masked]>
Cc: Marius Bakke <[email-masked]>, [email-masked]
Date: Sun, 07 Apr 2019 18:30:08 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi Jack,

Jack Hill <[email-masked]> skribis:

>            1 (primitive-load-path "gnu/packages/curl" #<procedure 20…>)
> In gnu/packages/curl.scm:
>      55:4  0 (_)
>
> gnu/packages/curl.scm:55:4: error: libssh2: unbound variable

Fixed in 71b4974a40347bdc651c3a1f923780733d96ded7.

The lesson is: when inheriting from a package, do it in the module where
it’s defined.

Thanks,
Ludo’.