Mohamed Amine LEGHERABA <mlegher...@protonmail.com> writes: > Thanks Ricardo for your answer. > > Sorry if my message was not clear, > I don't have the env variable C_INCLUDE_PATH in my guix system and I > should have it because I have the packages "gcc-toolchain" and > "linux-libre-headers" in my home profile. > When I run a instance of guix shell with these 2 packages, for example > with the command "guix shell gcc-toolchain linux-libre-headers" I do > have this env variable defined (in fact a guix shell with only > gcc-toolchain works also) so I don't know why I don't have this > variable defined in my system.
Hello, I think you're missing 'home-bash-service-type' in your home services, which should setup bash to source '$HOME_ENVIRONMENT/setup-environment', and 'setup-environment' will source '.guix-home/profile/etc/profile'. If gcc-toolchain is in the home profile, that '.guix-home/profile/etc/profile' should have C_INCLUDE_PATH in it. Hope this helps!