[Top][All Lists]

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

Re: How can I test better?

From: Leo Famulari
Subject: Re: How can I test better?
Date: Wed, 10 Feb 2016 00:35:24 -0500
User-agent: Mutt/1.5.24 (2015-08-30)

On Wed, Feb 10, 2016 at 01:52:19AM +0100, Nils Gillmann wrote:
> Regarding:
> 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.

reply via email to

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