Subject: bug#35623: FW: bug#35623: guix pull failed on RHEL7

From: Ludovic Courtès <[email-masked]>
Date: Sat, 11 May 2019 00:23:27 +0200

Hi,

Karrick McDermott <[email-masked]> skribis:

> In ./guix/utils.scm:
>    661:47  1 (xdg-directory _ "/.config" #:ensure? _)
> In unknown file:
>            0 (getpw 10452)
>
> ERROR: In procedure getpw:
> In procedure getpw: entry not found
> -guix pull: [1;31merror: [0mYou found a bug: the program '/gnu/store/4hsmk7kh62yvbi154pyy3nq8drml116a-compute-guix-derivation'

This happens because ‘with-clean-environment’ in
‘build-aux/build-self.scm’ clears the environment while executing
“compute-guix-derivation”.  Thus ‘HOME’ is unset.

Additionally, could it be that you’re not running nscd?  See:

  https://gnu.org/software/guix/manual/en/html_node/Application-Setup.html#Name-Service-Switch-1

That said, we could also let ‘HOME’ through in the execution environment
of “compute-guix-derivation”, it can’t hurt.

Thanks,
Ludo’.