Re: Emacs C source

2023-12-20 Thread Ian Eure
Kristoffer Ström writes: Hello! I'm running emacs in a guix shell, and wonder how/where to get the C source code directory for xref-find-definitions. I've grepped the /gnu/store/*emacs but cannot find the C source, is there some special package/output or procedure needed to get it include

Re: Emacs C source

2023-12-19 Thread Kristoffer Ström
> --8<---cut here---start->8--- > (use-modules (guix scripts build)) > > (specifications->manifest > (map > (lambda (spec) > (begin > (guix-build "--source" spec) > spec)) > (list >"emacs" >"coreutils" >))) > --8<---

Re: Emacs C source

2023-12-19 Thread Simon Tournier
Hi, On Sun, 17 Dec 2023 at 14:18, Kristoffer Ström wrote: > That's nice to know! However i would greatly prefer if there was some > way to make it be available as part of a manifest, Well, I am not aware of such out-of-box feature. >i'm build

Re: Emacs C source

2023-12-17 Thread Kristoffer Ström
> You can download source archives for any package using build --sources, like > this: That's nice to know! However i would greatly prefer if there was some way to make it be available as part of a manifest, i'm building multiple environments using guix shell containers, and doing this as an ext

Re: Emacs C source

2023-12-17 Thread Tomas Volf
On 2023-12-15 15:56:34 +0100, Kristoffer Ström wrote: > > Hello! I'm running emacs in a guix shell, and wonder how/where to get > the C source code directory for xref-find-definitions. > > I've grepped the /gnu/store/*emacs but cannot find the C source, is > there some special package/output or pro

Emacs C source

2023-12-17 Thread Kristoffer Ström
Hello! I'm running emacs in a guix shell, and wonder how/where to get the C source code directory for xref-find-definitions. I've grepped the /gnu/store/*emacs but cannot find the C source, is there some special package/output or procedure needed to get it included in the shell environment?