Ludovic Courtès writes:
> Ricardo Wurmus <[email protected]> skribis:
>
>> Yes, with my system guile (2.0.11) it returns my full user record.
>>
>> scheme@(guile-user)> (getpw (getenv "USER"))
>> $1 = #("rwurmus" "*" 12345 12345 "Wurmus, Ricardo" "/home/rwurmus"
>> "/bin/bash")
>
> And what about the Guix-built Guile?
I had to install it first:
~~~~~~~~~~~~~~~
scheme@(guile-user)> (getpw (getenv "USER"))
ERROR: In procedure getpw:
ERROR: In procedure getpw: entry not found
Entering a new prompt. Type `,bt' for a backtrace or `,q' to continue.
scheme@(guile-user) [1]> ,bt
0 (getpw "rwurmus")
scheme@(guile-user) [1]>
~~~~~~~~~~~~~~~
~~ Ricardo