Re: How can I install an emacs package with Guix without restarting emacs

2022-08-27 Thread jgart
On Sat, 27 Aug 2022 21:47:23 +0100 "(" wrote: > On Sat Aug 27, 2022 at 7:50 PM BST, jgart wrote: > > Should I use emacs-exec-path-from-shell? > > > > Or, is there some other way? > > I just load-file the new `~/.guix-home/profile/share/emacs/site-lisp` files. > Ideally emacs-guix would be able

Re: Am I doing it all wrong?

2022-08-27 Thread (
On Sat Aug 27, 2022 at 9:56 PM BST, ( wrote: > guix shell -D guix -- sh < ./bootstrap && ./configure --localstatedir=/var && make -j$(nproc) > EOF You could wrap it in a sh function: gsh() { guix shell $@ -- sh } gsh -D guix <

Re: Am I doing it all wrong?

2022-08-27 Thread (
On Sat Aug 27, 2022 at 7:38 PM BST, jgart wrote: > I agree. I think I had some issue iirc trying to run them all in one command > with && Or maybe... guix shell -D guix -- sh <

Build particular Rust version

2022-08-27 Thread Matthew James Kraai
Hi, Is it possible to build Rust 1.58.1 without updating the `rust` definition? If so, how do I do so? If I apply this patch: ``` diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm index 67dc5cdaf3..61d6686b64 100644 --- a/gnu/packages/rust.scm +++ b/gnu/packages/rust.scm @@ -644,10

Re: Am I doing it all wrong?

2022-08-27 Thread (
On Sat Aug 27, 2022 at 7:38 PM BST, jgart wrote: > I agree. I think I had some issue iirc trying to run them all in one command > with && Perhaps: guix shell -D guix --pure -- sh -c "./bootstrap && ./configure --localstatedir=/var && make -j$(nproc)" -- (

Re: How can I install an emacs package with Guix without restarting emacs

2022-08-27 Thread (
On Sat Aug 27, 2022 at 7:50 PM BST, jgart wrote: > Should I use emacs-exec-path-from-shell? > > Or, is there some other way? I just load-file the new `~/.guix-home/profile/share/emacs/site-lisp` files. Ideally emacs-guix would be able to do that automatically, though it doesn't seem to have any

Re: Am I doing it all wrong?

2022-08-27 Thread (
Hello jgart, On Sat Aug 27, 2022 at 4:34 PM BST, jgart wrote: > guix shell -D guix --container -- make You can use `make -j$(nproc)` to make the build *much* faster. -- (

How can I install an emacs package with Guix without restarting emacs

2022-08-27 Thread jgart
Should I use emacs-exec-path-from-shell? Or, is there some other way?

Re: Am I doing it all wrong?

2022-08-27 Thread jgart
On Sat, 27 Aug 2022 19:15:24 +0200 Ricardo Wurmus wrote: > Why do you keep exiting and entering the container for each command? I agree. I think I had some issue iirc trying to run them all in one command with && > And: why use a container at all when “guix shell --pure” would be more > than

Re: GIO_EXTRA_MODULES breaking foreign-distro programs

2022-08-27 Thread Philip McGrath
Hi, On Fri, Aug 26, 2022, at 12:51 PM, zimoun wrote: > Hi, > > On mar., 09 août 2022 at 17:27, Philip McGrath > wrote: > >> I plan to track down whatever package added GIO_EXTRA_MODULES to my profile >> and >> remove it for now, but that seems like a pretty drastic workaround. Is this >> a

Re: Am I doing it all wrong?

2022-08-27 Thread Ricardo Wurmus
jgart writes: > Hi, > > This is what I do to work on GNU Guix on a foreign distro: > > git clone https://git.savannah.gnu.org/git/guix.git > > cd guix > guix shell -D guix --container -- ./bootstrap > guix shell -D guix --container -- ./configure --localstatedir=/var > guix shell -D guix

mcron <3 offlineimap

2022-08-27 Thread jgart
hi has anyone tried running offlineimap on a(n) (m)cron?

Am I doing it all wrong?

2022-08-27 Thread jgart
Hi, This is what I do to work on GNU Guix on a foreign distro: git clone https://git.savannah.gnu.org/git/guix.git cd guix guix shell -D guix --container -- ./bootstrap guix shell -D guix --container -- ./configure --localstatedir=/var guix shell -D guix --container -- make guix shell

Re: Store path in package definition

2022-08-27 Thread Hartmut Goebel
Am 25.08.22 um 21:21 schrieb Saku Laesvuori: I'm writing a package definition for [passff-host](https://github.com/passff/passff-host) which requires a file to reference another file with an absolute path (passff.json must reference passff.py). How can I get the resulting store path to patch it