all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Pierre Neidhardt <ambrevar@gmail.com>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: help-guix <help-guix@gnu.org>
Subject: Re: emacs-dev: 'unpack' phase does not seem to preserve timestamps
Date: Fri, 25 May 2018 14:09:26 +0200	[thread overview]
Message-ID: <87a7sohr7t.fsf@gmail.com> (raw)
In-Reply-To: <87muwou73z.fsf@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 1640 bytes --]


Cumbersome indeed.  I also thought of installing to a local "output"
folder and using this as source.  The issue is that the prefix (as in
"./configure --prefix=") must be set to the store output of emacs-dev.
Otherwise Emacs won't find its Lisp folders.

I can't think of a clean way to do it.

Let's go back to my original intention: I want to do is a clean way to
install work-in-progress projects.  On traditional Unices, this can be
done by calling `make install` to /usr/local (possibly with the help of
`stow`).

On Guix, installing to /usr/local won't help: in all cases we've got to
set all the *PATH variables to folders of the locally compiled project.
I initially thought that the Guix package manager could help but it
seems that I was wrong: Guix is made to _build_ packages reproducibly,
not to install some random files.

Now I'm thinking that a better approach to this issue is to install,
say, in ~/.local and to set all PATH variables appropriately, e.g.

--8<---------------cut here---------------start------------->8---
export C_INCLUDE_PATH="$HOME/.local/include":$C_INCLUDE_PATH
export CPLUS_INCLUDE_PATH="$HOME/.local/include":$CPLUS_INCLUDE_PATH
export LIBRARY_PATH="$HOME/.local/lib":$LIBRARY_PATH
export PKG_CONFIG_PATH="$HOME/.local/lib/pkgconfig":$PKG_CONFIG_PATH
export INFOPATH="$HOME/.local/share/info":$INFOPATH
export MANPATH="$HOME/.local/share/man":$MANPATH
# ...
--8<---------------cut here---------------end--------------->8---

Lots of work ahead! :p

For emacs, maybe a better way is to simply add
~/projects/emacs/src/emacs to the PATH.

Does anyone know of a better approach?

--
Pierre Neidhardt

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

      reply	other threads:[~2018-05-25 12:09 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-17 15:14 emacs-dev: 'unpack' phase does not seem to preserve timestamps Pierre Neidhardt
2018-05-23 15:01 ` Ludovic Courtès
2018-05-23 20:40   ` Pierre Neidhardt
2018-05-24 12:13     ` Ludovic Courtès
2018-05-24 12:29       ` Pierre Neidhardt
2018-05-24 20:33         ` Ludovic Courtès
2018-05-25 12:09           ` Pierre Neidhardt [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

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

  git send-email \
    --in-reply-to=87a7sohr7t.fsf@gmail.com \
    --to=ambrevar@gmail.com \
    --cc=help-guix@gnu.org \
    --cc=ludo@gnu.org \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.