Mark H Weaver <[email protected]> skribis:

> The 'bash' in the glibc package is handicapped in at least two ways:
>
> * It can't set the locale, because it looks for locales in
>   /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-glibc-intermediate-2.18-locales
>
> * It can't look up anything from NSS, such as passwd data, because it
>   tries to load the modules from
>   /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-glibc-intermediate-2.18
>
> There are two problems that need to be addressed, I think:
>
> * Users could easily end up with this handicapped 'bash' as their
>   primary bash, if they installed (or upgraded?) 'glibc' since the last
>   time I installed 'bash'.  This happened to me, for example.

I realized that this particular problem is easily solved by moving
glibc’s bash away from $bindir, for instance to $libexecdir.

I’m trying it out locally, and plan to commit to core-updates if
everything works as expected (hopefully as the last core-updates
change.)

Thoughts?

Thanks,
Ludo’.

Reply via email to