unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: zimoun <zimon.toutoune@gmail.com>
To: Benjamin Slade <beoram@gmail.com>, phodina <phodina@protonmail.com>
Cc: help-guix@gnu.org
Subject: Re: Nix on Guix? (and setting Guix $PATH)
Date: Sat, 30 Apr 2022 10:53:45 +0200	[thread overview]
Message-ID: <86ee1fosti.fsf@gmail.com> (raw)
In-Reply-To: <871qxv8yby.fsf@gmail.com>

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	other threads:[~2022-04-30  9:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-16  0:09 Nix on Guix? Benjamin Slade
2022-04-16 18:20 ` phodina via
2022-04-16 19:49   ` Benjamin Slade
2022-04-17 16:28   ` Nix on Guix? (and setting Guix $PATH) Benjamin Slade
2022-04-30  8:53     ` zimoun [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86ee1fosti.fsf@gmail.com \
    --to=zimon.toutoune@gmail.com \
    --cc=beoram@gmail.com \
    --cc=help-guix@gnu.org \
    --cc=phodina@protonmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).