Hi Chris, Chris Marusich skribis: > [130] marusich@suzaku:~/guix-master > $ guix shell --container --check -D guix > guix shell: checking the environment variables visible from shell '/bin/bash'... > guix shell: warning: variable 'PKG_CONFIG_PATH' is missing from shell environment [...] > I found the following things to be confusing: > > (1) The error message claims that PKG_CONFIG_PATH is "missing from shell > environment." However, it seems to be present when I run "env". > > (2) It says I can avoid the problem by passing the `--container' option, > but even when I do that, the problem seems to persist. If that is > expected behavior, then perhaps the wording should be changed to > something less certain, such as "you might be able to avoid the > problem". It does not seem to be the case that I can avoid the problem > by passing the `--container' option in this case. What’s confusing is that ‘--check’ does the same job whether or not ‘--container’ is passed: it checks the behavior of your shell *outside* a container. I think ‘--check’ should just do nothing when ‘--container’ is used, possibly emitting a warning saying it’s not doing anything (patch below). Now, the diagnostic is hopefully correct if you use, say, ‘--pure’ instead of ‘--container’. Could you check whether this is the case? Thanks, Ludo’.