[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#38529: Make --pure the default for `guix environment'?
From: |
Jesse Gibbons |
Subject: |
bug#38529: Make --pure the default for `guix environment'? |
Date: |
Mon, 09 Dec 2019 10:37:12 -0700 |
User-agent: |
Evolution 3.30.5 |
On Sun, 2019-12-08 at 16:42 +0100, Pierre Neidhardt wrote:
> --pure seems to be the more sensible behaviour. "Impure" environments
> can have unexpected behaviours, so it makes sense to only allow them
> when the user explicitly asks for it.
>
--pure environments sometimes miss important environment variables. Try
running any app that depends on X and doesn't fallback to a console mode in
a pure environment.
for example, "guix environment --pure --ad-hoc pavucontrol -- pavucontrol"
gives me an error:
No protocol specified
Unable to init server: Could not connect: Connection
refused
Similarly, "guix environment --pure --ad-hoc gnubik -- gnubik" gives me an
error:
No protocol specified
(gnubik:29707): Gtk-WARNING **: 10:03:28.753: cannot open display: :1
"guix environment --pure --ad-hoc gedit -- gedit":
No protocol specified
Unable to init server: Could not connect: Connection refused
(org.gnome.gedit:31542): Gtk-WARNING **: 10:08:07.401: cannot open display:
:1
Making --pure the default for "guix environment" would make things more
complicated for users wanting to temporarily run GUI apps unless we fix this
issue first. I furthermore suspect some tests fail because of this issue.
- bug#38529: Make --ad-hoc the default for guix environment proposed deprecation mechanism, (continued)
- bug#38529: Make --ad-hoc the default for guix environment proposed deprecation mechanism, Ricardo Wurmus, 2019/12/20
- bug#38529: Make --ad-hoc the default for guix environment proposed deprecation mechanism, Konrad Hinsen, 2019/12/21
- bug#38529: Deprecating ‘guix environment’?, Ludovic Courtès, 2019/12/19
- bug#38529: Deprecating ‘guix environment’?, zimoun, 2019/12/19
- bug#38529: Deprecating ‘guix environment’?, Konrad Hinsen, 2019/12/20
- bug#38529: Deprecating ‘guix environment’?, zimoun, 2019/12/20
bug#38529: Make --pure the default for `guix environment'?, Leo Famulari, 2019/12/08
bug#38529: Make --pure the default for `guix environment'?, Maxim Cournoyer, 2019/12/09
bug#38529: Make --pure the default for `guix environment'?,
Jesse Gibbons <=