hot12shots <[email protected]> wrote: > guix package --search-paths=prefix \ > -p /run/current-system/profile \ > -p ~/.config/guix/current \ > -p ~/.guix-profile \ > -p $GUIX_EXTRA_PROFILES/abc/abc \ > -p $GUIX_EXTRA_PROFILES/xyz/zyz > # etc. > > This properly sets the manpath etc., as the consuming packages (man-db and > friends) are present in the included "built-in" profiles (first 3 `-p` > arguments listed above).
Ha! Nice trick, thanks. Alas, it wonʼt help much on top of foreign distribution, where they often are not. > The only caveat I'm aware of is that the multiple `guix` invocations aren't > instantaneous, so one might not want to use this if sourcing their .profile > from .bashrc or equivalent, as it would add some init time to every shell > invocation. But one should never source profiles from ~/.bashrc in any case! They are supposed to sourced by login shell only. In other words, there is ~/.profile (or ~/.bash_profile) for that.
signature.asc
Description: PGP signature
