unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#53700: Guix package is hardcoded in guix home
@ 2022-02-01 14:19 Gordon Quad via Bug reports for GNU Guix
  2022-03-02 11:06 ` Ludovic Courtès
  0 siblings, 1 reply; 4+ messages in thread
From: Gordon Quad via Bug reports for GNU Guix @ 2022-02-01 14:19 UTC (permalink / raw)
  To: 53700

guix home uses guix package directly imported from (gnu packages
package-management) gnu/home/services.scm:22

https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/home/services.scm#n22

It looks like for now it is used only here gnu/home/services.scm:283

https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/home/services.scm#n284

It is quite unfortunte to see guix home to pull whole extra copy of guix
only to use few files to do gettext localization init.

If would be nice to be able to customize guix package used there so I
can make sure guix used by guix home is the same as in my guix daemon.




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

* bug#53700: Guix package is hardcoded in guix home
  2022-02-01 14:19 bug#53700: Guix package is hardcoded in guix home Gordon Quad via Bug reports for GNU Guix
@ 2022-03-02 11:06 ` Ludovic Courtès
  2023-03-31  4:52   ` Andrew Tropin
  0 siblings, 1 reply; 4+ messages in thread
From: Ludovic Courtès @ 2022-03-02 11:06 UTC (permalink / raw)
  To: Gordon Quad; +Cc: 53700

Hi,

Gordon Quad <gordon@niflheim.info> skribis:

> guix home uses guix package directly imported from (gnu packages
> package-management) gnu/home/services.scm:22
>
> https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/home/services.scm#n22
>
> It looks like for now it is used only here gnu/home/services.scm:283
>
> https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/home/services.scm#n284
>
> It is quite unfortunte to see guix home to pull whole extra copy of guix
> only to use few files to do gettext localization init.

Yes, it’s a bit heavy-handed.

> If would be nice to be able to customize guix package used there so I
> can make sure guix used by guix home is the same as in my guix daemon.

I’m not sure I understand.  As you write, the ‘guix’ package is used in
(gnu home services) only to get gettext catalogs; AFAICS it’s not used
for anything else.

Could you clarify what you had in mind?

Thanks,
Ludo’.




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

* bug#53700: Guix package is hardcoded in guix home
  2022-03-02 11:06 ` Ludovic Courtès
@ 2023-03-31  4:52   ` Andrew Tropin
  2023-03-31 12:11     ` Ludovic Courtès
  0 siblings, 1 reply; 4+ messages in thread
From: Andrew Tropin @ 2023-03-31  4:52 UTC (permalink / raw)
  To: Ludovic Courtès, Gordon Quad; +Cc: 53700

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

On 2022-03-02 12:06, Ludovic Courtès wrote:

> Hi,
>
> Gordon Quad <gordon@niflheim.info> skribis:
>
>> guix home uses guix package directly imported from (gnu packages
>> package-management) gnu/home/services.scm:22
>>
>> https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/home/services.scm#n22
>>
>> It looks like for now it is used only here gnu/home/services.scm:283
>>
>> https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/home/services.scm#n284
>>
>> It is quite unfortunte to see guix home to pull whole extra copy of guix
>> only to use few files to do gettext localization init.
>
> Yes, it’s a bit heavy-handed.
>
>> If would be nice to be able to customize guix package used there so I
>> can make sure guix used by guix home is the same as in my guix daemon.
>
> I’m not sure I understand.  As you write, the ‘guix’ package is used in
> (gnu home services) only to get gettext catalogs; AFAICS it’s not used
> for anything else.
>
> Could you clarify what you had in mind?

I was hit by this one yesterday as well.  I tried to manage just a few
config files with Guix Home on foreign distro, but it started to
download 46 megabytes of guix package, while I expected it to work
completely offline.

-- 
Best regards,
Andrew Tropin

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

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

* bug#53700: Guix package is hardcoded in guix home
  2023-03-31  4:52   ` Andrew Tropin
@ 2023-03-31 12:11     ` Ludovic Courtès
  0 siblings, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2023-03-31 12:11 UTC (permalink / raw)
  To: Andrew Tropin; +Cc: 53700, Gordon Quad

Hi,

Andrew Tropin <andrew@trop.in> skribis:

>> I’m not sure I understand.  As you write, the ‘guix’ package is used in
>> (gnu home services) only to get gettext catalogs; AFAICS it’s not used
>> for anything else.
>>
>> Could you clarify what you had in mind?
>
> I was hit by this one yesterday as well.  I tried to manage just a few
> config files with Guix Home on foreign distro, but it started to
> download 46 megabytes of guix package, while I expected it to work
> completely offline.

Ouch.  We should do better indeed, though I’m not sure how.

One solution would be to not need those catalogs on the build side in
the first place, which means making sure that error handling and logging
always happens on the “host side”, as is the case for pretty much
everything else.

Ludo’.




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

end of thread, other threads:[~2023-03-31 12:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-01 14:19 bug#53700: Guix package is hardcoded in guix home Gordon Quad via Bug reports for GNU Guix
2022-03-02 11:06 ` Ludovic Courtès
2023-03-31  4:52   ` Andrew Tropin
2023-03-31 12:11     ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

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

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