unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* How can I test better?
@ 2016-02-10  0:52 Nils Gillmann
  2016-02-10  5:35 ` Leo Famulari
  0 siblings, 1 reply; 2+ messages in thread
From: Nils Gillmann @ 2016-02-10  0:52 UTC (permalink / raw)
  To: GUIX help

Regarding:
https://lists.gnu.org/archive/html/guix-devel/2016-02/msg00313.html

I wonder how I can be sure if `guix environment` does not give me
a 100% reproduction of what is happening with the files later on,
how can I verify what I push as patch does work and which doesn't
if I have to write the install procedure of `make` myself?
Is `guix system vm` better?
How can I test things *better* to give me expected results?

I referenced the thread because this is currently broken because
of this one issue.
-- 
ng

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: How can I test better?
  2016-02-10  0:52 How can I test better? Nils Gillmann
@ 2016-02-10  5:35 ` Leo Famulari
  0 siblings, 0 replies; 2+ messages in thread
From: Leo Famulari @ 2016-02-10  5:35 UTC (permalink / raw)
  To: Nils Gillmann; +Cc: GUIX help

On Wed, Feb 10, 2016 at 01:52:19AM +0100, Nils Gillmann wrote:
> Regarding:
> https://lists.gnu.org/archive/html/guix-devel/2016-02/msg00313.html
>
> I wonder how I can be sure if `guix environment` does not give me
> a 100% reproduction of what is happening with the files later on,
> how can I verify what I push as patch does work and which doesn't
> if I have to write the install procedure of `make` myself?
> Is `guix system vm` better?
> How can I test things *better* to give me expected results?

`guix environment` launches a new shell. It's possible to get unexpected
problems if you set environment variables in .bashrc, which is sourced
when launching interactive shells, rather than .bash_profile, which is
only sourced for login shells. This is why it's generally recommended to
set environment variables only when launching login shells.

I'm not sure what happened with lispf4 but that is one way that `guix
environment` can be broken.

You might also try the --pure and --container options to `guix
environment`, since they achieve greater degrees of isolation from the
rest of your system.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-02-10  5:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-10  0:52 How can I test better? Nils Gillmann
2016-02-10  5:35 ` Leo Famulari

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).