bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#55013: Guix-emacs doesn't work


From: Cayetano Santos
Subject: bug#55013: Guix-emacs doesn't work
Date: Fri, 29 Nov 2024 21:12:24 +0100
User-agent: mu4e 1.12.7; emacs 29.4

>ven. 29 nov. 2024 at 10:25, Suhail Singh <suhailsingh247@gmail.com> wrote:

> Suhail Singh <suhailsingh247@gmail.com> writes:
>
>> #+begin_src example
>>   $> gx_shell bash-minimal coreutils-minimal emacs emacs-guix guix guile
>>   [env]$> emacs
>>
>>   ....
>>
>>   $> type gx_shell
>>   gx_shell is a function
>>   gx_shell ()
>>   {
>>       if ob_shell_session_p; then
>>           local ps12='|PS1|PS2';
>>       else
>>           local ps12='';
>>       fi;
>>       ps12='|obsh_PS1|obsh_PS2'"${ps12}";
>>       local 
>> preserve='.*GTK.*|.*XDG.*|.*DISPLAY.*|TERM|INSIDE_EMACS'"${ps12}";
>>       guix shell --pure -CPWN -E "${preserve}" "${@}"
>>   }
>> #+end_src
>
> Apologies for missing the reference to undefined functions in the above.
> For present purposes, gx_shell can be simplified as follows:
>
> #+begin_src example
>   $> type gx_shell
>   gx_shell is a function
>   gx_shell ()
>   {
>       local preserve='.*GTK.*|.*XDG.*|.*DISPLAY.*|TERM|INSIDE_EMACS';
>       guix shell --pure -CPWN -E "${preserve}" "${@}"
>   }
> #+end_src

So  this works:

  guix shell --pure -CPWN emacs emacs-guix guile

with a ‘emacs -q -nw’ followed by a M-x guix-packages-by-name

But this fails:

  guix shell --pure -CPWN emacs emacs-guix

Guile is not propagated in the emacs-guix package definition, is this
the problem ?

--
Cayetano Santos





reply via email to

[Prev in Thread] Current Thread [Next in Thread]