Simon Tournier <zimon.touto...@gmail.com> writes:

> Hi,
>
> Thanks for sharing.  Interesting to see other config.
>
>
> On Fri, 30 Dec 2022 at 08:54, Feng Shu <tuma...@163.com> wrote:
>
>> ;; ** Let geiser-guile use 'guix repl'
>> (setq geiser-guile-binary (list "guix" "repl" "-L" eh-geeguix-dir))
>
> Be careful, this can bite you. :-)  Guile is run with --no-auto-compile
> so the debugger is probably not working as expected.  See [1,2].
>
> 1: https://yhetil.org/guix/86o7ss1u49.fsf@gmail.com2: 
> https://yhetil.org/guix/87lenve3t2....@gnu.org
>
>
>> ;; ** Get guix dir installed by 'guix pull'.
>> (defun eh-guix-dir ()
>>   (file-name-as-directory
>>    (cl-find-if
>>     (lambda (dir)
>>       (file-exists-p (expand-file-name "guix.scm" dir)))
>>     (directory-files
>>      (expand-file-name "~/.cache/guix/checkouts/")
>>      t))))
>
> Well, I do not know what you do with this but if you manually write in
> this directory, then “guix pull” could be then broken.

I just read tempel templates and copyright.el from this directory.
maybe I should read them from another dir, but I do not know where,

in "~/.config/guix/current/share" seem can not find them.

>
>
> Cheers,
> simon

-- 


Reply via email to