Re: What is GUIX_PROFILE for?

2018-06-22 Thread myglc2
On 06/22/2018 at 08:36 George Clemmer writes:

> What is GUIX_PROFILE is for?
>
>
> First question:
>
> If I log into a GuixSD vm-image w/ 1 package installed ...
>
> nemo:~ $ ssh g1@sysi34.local
> Last login: Fri Jun 22 08:24:11 2018 from fe80::1c82:5c21:6372:5970%eth0
> g1@sysi34 ~$ guix package -I
> znc   1.7.0   out
> /gnu/store/giv77vd376nkwpgl08fjfkq87b9mm8xj-znc-1.7.0
>
> ... GUIX_PROFILE is not in env ...
>
> env | grep GUIX GUIX_LOCPATH=/run/current-system/locale

Oops! It sould have read ...

env | grep GUIX
GUIX_LOCPATH=/run/current-system/locale

> ... but echo reports it ...
>
> g1@sysi34 ~$ echo $GUIX_PROFILE
> /home/g1/.guix-profile
>
> That seems odd to me. What does it mean?
>
>
> Second question:
>
> If I set GUIX_PROFILE to something else, does it have any effect on what
> Guix does for me?

TIA - George



Re: French info pages?

2018-06-22 Thread Pierre Neidhardt
Hmm... Locales are defined at the system level.
I don't know if traditional unices can define locale for individual user 
profiles.
I think desktop environments handle that themselves.
Maybe Guix could introduce an environment variable, e.g. GUIX_USER_LOCALE.
Guix can then inspect the content of this variable when installing info pages 
and link appropriately.

What do you think?

-- 
Pierre Neidhardt

"If you want to know what happens to you when you die, go look at some dead
stuff."
-- Dave Enyeart


signature.asc
Description: PGP signature


Re: French info pages?

2018-06-22 Thread Pierre Neidhardt
OK, thanks for the heads up.
So does it mean that all languages will always get displayed in the dir node?
If more languages get added in the future, wouldn't that clutter the buffer?

-- 
Pierre Neidhardt

"We will bury you."
-- Nikita Kruschev


signature.asc
Description: PGP signature


Re: French info pages?

2018-06-22 Thread Julien Lepiller

The broken nodes are my fault :/ I will fix that as soon as I can.
Basically, they exist as (guix.fr)Invoquer ... instead of
(guix)Invoquer ...

Otherwise, that's because we install localized info pages during guix
pull. Info doesn't support locale-based directories like man, so you see 
all
languages (currently only French and English). Unfortunately, this 
feature

is documented as something that will not be implemented:

https://svn.savannah.gnu.org/viewvc/*checkout*/texinfo/trunk/TODO
(Support installation of manuals in different languages).

Le 2018-06-22 16:00, Pierre Neidhardt a écrit :

Hi there!

On my english system, I noticed since a recent `guix pull && guix
package -u` my `dir` info buffer looks like the following

--8<---cut here---start->8---
File: dir,  Node: Top   This is the top of the INFO tree

  This (the Directory node) gives a menu of major topics.
  Typing "q" exits, "H" lists all Info commands, "d" returns here,
  "h" gives a primer for first-timers,
  "mEmacs" visits the Emacs manual, etc.

  In Emacs, you can click mouse button 2 on a menu item or cross 
reference

  to select it.

* Menu:

Administration système
* guix gc : (guix)Invoquer guix gc.
Récupérer de l’espace disque inutilisé.
* guix package : (guix)Invoquer guix package.
Intaller, supprimer et mettre à jour 
des

  paquets.
* guix pull : (guix)Invoquer guix pull.
Mettre à jour la liste des paquets
  disponibles.
* guix system : (guix)Invoquer guix system.
Gérer la configuration du système
  d’exploitation.
* Guix: (guix). Gérer les logiciels installés et la
  configuration du système.

Développement logiciel
* guix build : (guix)Invoquer guix build.
Construire des paquets.
* guix environment : (guix)Invoquer guix environment.
Construire des environnements de 
construction

  avec Guix.
* guix pack : (guix) Invoquer guix pack.
Créer des lots binaires.

Software development
...
--8<---cut here---end--->8---

Those nodes are broken, they don't open any file.
Everything after "Software development" is fine.

My locale is

--8<---cut here---start->8---
(operating-system
 (locale "en_US.utf8")
 ...
--8<---cut here---end--->8---

although I noticed that the system seems to have more:

--8<---cut here---start->8---

locale -a

C
ca_ES.utf8
cs_CZ.utf8
da_DK.utf8
de_DE.utf8
el_GR.utf8
en_AU.utf8
en_CA.utf8
en_GB.utf8
en_US.utf8
en_US.UTF-8
es_AR.utf8
es_CL.utf8
es_ES.utf8
es_MX.utf8
fi_FI.utf8
fr_BE.utf8
fr_CA.utf8
fr_CH.utf8
fr_FR.utf8
ga_IE.utf8
it_IT.utf8
ja_JP.utf8
ko_KR.utf8
nb_NO.utf8
nl_NL.utf8
pl_PL.utf8
POSIX
pt_PT.utf8
ro_RO.utf8
ru_RU.utf8
sv_SE.utf8
tr_TR.utf8
uk_UA.utf8
vi_VN.utf8
zh_CN.utf8
--8<---cut here---end--->8---

Anyone else?

--
Pierre Neidhardt




French info pages?

2018-06-22 Thread Pierre Neidhardt

Hi there!

On my english system, I noticed since a recent `guix pull && guix
package -u` my `dir` info buffer looks like the following

--8<---cut here---start->8---
File: dir,  Node: Top   This is the top of the INFO tree

  This (the Directory node) gives a menu of major topics.
  Typing "q" exits, "H" lists all Info commands, "d" returns here,
  "h" gives a primer for first-timers,
  "mEmacs" visits the Emacs manual, etc.

  In Emacs, you can click mouse button 2 on a menu item or cross reference
  to select it.

* Menu:

Administration système
* guix gc : (guix)Invoquer guix gc.
Récupérer de l’espace disque inutilisé.
* guix package : (guix)Invoquer guix package.
Intaller, supprimer et mettre à jour des
  paquets.
* guix pull : (guix)Invoquer guix pull.
Mettre à jour la liste des paquets
  disponibles.
* guix system : (guix)Invoquer guix system.
Gérer la configuration du système
  d’exploitation.
* Guix: (guix). Gérer les logiciels installés et la
  configuration du système.

Développement logiciel
* guix build : (guix)Invoquer guix build.
Construire des paquets.
* guix environment : (guix)Invoquer guix environment.
Construire des environnements de construction
  avec Guix.
* guix pack : (guix) Invoquer guix pack.
Créer des lots binaires.

Software development
...
--8<---cut here---end--->8---

Those nodes are broken, they don't open any file.
Everything after "Software development" is fine.

My locale is

--8<---cut here---start->8---
(operating-system
 (locale "en_US.utf8")
 ...
--8<---cut here---end--->8---

although I noticed that the system seems to have more:

--8<---cut here---start->8---
> locale -a
C
ca_ES.utf8
cs_CZ.utf8
da_DK.utf8
de_DE.utf8
el_GR.utf8
en_AU.utf8
en_CA.utf8
en_GB.utf8
en_US.utf8
en_US.UTF-8
es_AR.utf8
es_CL.utf8
es_ES.utf8
es_MX.utf8
fi_FI.utf8
fr_BE.utf8
fr_CA.utf8
fr_CH.utf8
fr_FR.utf8
ga_IE.utf8
it_IT.utf8
ja_JP.utf8
ko_KR.utf8
nb_NO.utf8
nl_NL.utf8
pl_PL.utf8
POSIX
pt_PT.utf8
ro_RO.utf8
ru_RU.utf8
sv_SE.utf8
tr_TR.utf8
uk_UA.utf8
vi_VN.utf8
zh_CN.utf8
--8<---cut here---end--->8---

Anyone else?

--
Pierre Neidhardt


signature.asc
Description: PGP signature


What is GUIX_PROFILE for?

2018-06-22 Thread George Clemmer
What is GUIX_PROFILE is for?


First question:

If I log into a GuixSD vm-image w/ 1 package installed ...

nemo:~ $ ssh g1@sysi34.local
Last login: Fri Jun 22 08:24:11 2018 from fe80::1c82:5c21:6372:5970%eth0
g1@sysi34 ~$ guix package -I
znc   1.7.0   out
/gnu/store/giv77vd376nkwpgl08fjfkq87b9mm8xj-znc-1.7.0

... GUIX_PROFILE is not in env ...

env | grep GUIX GUIX_LOCPATH=/run/current-system/locale

... but echo reports it ...

g1@sysi34 ~$ echo $GUIX_PROFILE
/home/g1/.guix-profile

That seems odd to me. What does it mean?


Second question:

If I set GUIX_PROFILE to something else, does it have any effect on what
Guix does for me?

TIA - George