[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 1/2] build: union: Add create-all-directory? parameter to uni
From: |
Huang\, Ying |
Subject: |
Re: [PATCH 1/2] build: union: Add create-all-directory? parameter to union-build |
Date: |
Sat, 25 Feb 2017 20:43:00 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) |
Mark H Weaver <address@hidden> writes:
> Danny Milosavljevic <address@hidden> writes:
>
>> yeah, I've looked at it and I see what you are trying to do.
>>
>> You modified 'union to replicate the directory tree and symlink only
>> the non-directory files - in order to be able to add "fonts.dir" in
>> those directories.
>
> If the purpose here is to facilitate mutating anything in the store,
> then we cannot accept this. The entire design is Guix is based on store
> items being immutable, and we assume this throughout the code, most
> notably by assuming that store items and parts of store items can be
> aliased instead of copied.
>
> If you want to add something to your profile, e.g. fonts.dir, then use
> profile hooks for that. See %default-profile-hooks in
> guix/profiles.scm. However, we already have a hook to build fonts.dir,
> so I'm not sure what's missing here.
This is to be used by fonts-dir-file profile hook. The 2/2 of the
patchset will enhance the fonts-dir-file profile hook based on mechanism
provided here. The problem we want to resolve in this patchset is that
in addition to $GUIX_PROFILE/share/fonts/truetype, we need to create
fonts.dir/scale for other directories in $GUIX_PROFILE/share/fonts too.
So we need to create all directories under $GUIX_PROFILE/share/fonts.
We do that in 2/2 of the patchset.
Best Regards,
Huang, Ying
> If we've misunderstood the rationale for this patch, can you help us
> understand what you're trying to do?
>
> Thanks,
> Mark
- [PATCH 1/2] build: union: Add create-all-directory? parameter to union-build, huang_ying_caritas, 2017/02/17
- [PATCH 2/2] guix: profiles: create fonts.dir/scale for all fonts directories, huang_ying_caritas, 2017/02/17
- Re: [PATCH 1/2] build: union: Add create-all-directory? parameter to union-build, Huang\, Ying, 2017/02/24
- Re: [PATCH 1/2] build: union: Add create-all-directory? parameter to union-build, Andy Wingo, 2017/02/24
- Re: [PATCH 1/2] build: union: Add create-all-directory? parameter to union-build, Danny Milosavljevic, 2017/02/24
- Re: [PATCH 1/2] build: union: Add create-all-directory? parameter to union-build, Huang\, Ying, 2017/02/24
- Re: [PATCH 1/2] build: union: Add create-all-directory? parameter to union-build, Huang\, Ying, 2017/02/25
- Re: [PATCH 1/2] build: union: Add create-all-directory? parameter to union-build, 宋文武, 2017/02/26
- Re: [PATCH 1/2] build: union: Add create-all-directory? parameter to union-build, Huang\, Ying, 2017/02/27