Hi Ludo’,
Quoting Ludovic Courtès (2024-06-11 17:45:07) > Tanguy LE CARROUR <[email protected]> skribis: > > > Quoting Simon Tournier (2024-06-04 21:24:10) > >> On Tue, 21 May 2024 at 11:38, Tanguy LE CARROUR <[email protected]> > >> wrote: > >> > >> > 2 (primitive-load "/gnu/store/fvly06ac6y0c01r8zavc2m1zfk6?") > >> [...] > >> > 0 (symlink "/gnu/store/676qwqy15al2zi7a5s4kb1lwjr6yxqpf-?" ?) > >> [...] > >> > # But files with longer names exist! Could the problem be the `?` > >> > caracter? > >> > $ ls /gnu/store/fvly06ac6y0c01r8zavc2m1zfk6?* > >> > /gnu/store/fvly06ac6y0c01r8zavc2m1zfk6pvhn9-files-builder > >> > > >> > $ ls /gnu/store/676qwqy15al2zi7a5s4kb1lwjr6yxqpf-?* > >> > /gnu/store/676qwqy15al2zi7a5s4kb1lwjr6yxqpf-config > >> > ``` > >> > >> Yeah, the character ’?’ is only to point that the string is cut. > >> > >> The two files are: > >> > >> /gnu/store/fvly06ac6y0c01r8zavc2m1zfk6pvhn9-files-builder > >> /gnu/store/676qwqy15al2zi7a5s4kb1lwjr6yxqpf-config > >> > >> > >> Now, why there is an issue with the symlink of these files is another > >> story. :-) > > > > Whyyyyy! 😭 > > I tried reverting to an older version of my `home.scm`, without luck. 😞 > > It would be great if you could reduce your Home config to something > small that reproduces the bug. ‘guix home build home.scm’ is enough to > reproduce this bug and it doesn’t have any side effect. > > Most likely it has to do with what gets passed to > ‘home-files-service-type’. Thanks to Nils and Simon, I was able to solve the problem. A file in `home-files-service-type` was in conflict with one of my `home-service`. But it was not obvious from the error message. I cannot really reproduce with a simple `home.scm`, for the following works as expected: ``` $ cat home.scm (use-modules (gnu home) (gnu home services) (guix gexp)) (home-environment (services (list (service home-xdg-configuration-files-service-type `(("fontconfig/fonts.conf" ,(local-file "fontconfig" #:recursive? #t))))))) $ guix home build home.scm guix home: error: duplicate '.config/fontconfig/fonts.conf' entry for files/ ``` ?! 🤔 Thanks anyway! -- Tanguy
