help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Nix on Guix? (and setting Guix $PATH)


From: zimoun
Subject: Re: Nix on Guix? (and setting Guix $PATH)
Date: Sat, 30 Apr 2022 10:53:45 +0200

Hi,

On Sun, 17 Apr 2022 at 10:28, Benjamin Slade <beoram@gmail.com> wrote:

> But I have to run `source
> /run/current-system/profile/etc/profile.d/nix.sh' from a terminal
> every time to get Nix packages in my PATH. Is there a better way of
> doing this? Setting the PATH somewhere or running
> `/run/current-system/profile/etc/profile.d/nix.sh' from .profile or
> something?

Yes, you can configure the ’source’ in your config files.  It depends on
what you want (login shell vs interactive shell, etc.), and as rough
rule of thumb, the source could be set in:

    /etc/profile
    ~/.profile
    ~/.bash_profile
    ~/.bashrc


Cheers,
simon



reply via email to

[Prev in Thread] Current Thread [Next in Thread]