unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Jeff Bauer <jeffrubic@gmail.com>
To: Jesse Gibbons <jgibbons2357@gmail.com>
Cc: help-guix mailing list <help-guix@gnu.org>
Subject: Re: spacemacs doesn't have the correct PATH when I change HOME
Date: Tue, 24 Sep 2019 08:09:37 -0500	[thread overview]
Message-ID: <20190924130937.GB20354@serpent> (raw)
In-Reply-To: <694948462831acaf11c63b9e146710d8bbeef8ef.camel@gmail.com>

On Mon, Sep 23, 2019 at 04:44:12PM -0600, Jesse Gibbons wrote:
> I need spacemacs for a class, but I want to keep my emacs settings, so I
> setup a script as described in the FAQ to separate emacs from spacemacs. The
> script sets HOME to $HOME/spacemacs and calls emacs. It appears that guix
> recalculates PATH when I call the script, so it cannot packages like git in
> my profile.
> I have identified three possible solutions, but I need a little information
> to accomplish each:
> 1. Is there a way to preserve my profile in the PATH environment variable? I
> tried $HOME/spacemacs/.bashrc but it isn't called. (solution 0)
> 2. Is there a way to setup a local profile in $HOME/spacemacs so emacs will
> be able to locate the packages it needs? (solution 1)
> 3. How hard would it be to define a spacemacs package with the binary
> renamed "spacemacs" so I won't have to use the script? (solution 2)

Jesse:

I'm using spacemacs with guix, but not dual emacs/spacemacs.  Some
resources (which you may have already encountered):

https://www.reddit.com/r/spacemacs/comments/88poow/how_can_i_run_spacemacs_and_emacs_side_by_side/

(ihsec = I hate switching emacs environments)

https://github.com/daedreth/ihsec

I don't think your 3rd approach makes sense, as spacemacs
is just emacs with a different configuration.

-Jeff

  reply	other threads:[~2019-09-24 13:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-23 22:44 spacemacs doesn't have the correct PATH when I change HOME Jesse Gibbons
2019-09-24 13:09 ` Jeff Bauer [this message]
2019-09-24 14:55   ` Jesse Gibbons
2019-09-24 16:22   ` Ludovic Courtès

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=20190924130937.GB20354@serpent \
    --to=jeffrubic@gmail.com \
    --cc=help-guix@gnu.org \
    --cc=jgibbons2357@gmail.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).