Re: Wrapping an R script: how do I compose the R_LIBS_SITE environment variable?

2021-02-06 Thread Ricardo Wurmus
divoplade writes: > Attached is an example of a script written in R that has non-trivial > recursive dependencies. Why don’t you use the r-build-system here? > If you look at the package definition, you see that I call wrap-program > in order to set the R_LIBS_SITE environment variable. The

Re: Wrapping an R script: how do I compose the R_LIBS_SITE environment variable?

2021-02-06 Thread divoplade
Hello, Sorry, I realize I was not clear enough. Attached is an example of a script written in R that has non-trivial recursive dependencies. You can run the example as: guix environment --ad-hoc --container -l package.scm -- hello You will normally see something like: $ guix environment

Re: Wrapping an R script: how do I compose the R_LIBS_SITE environment variable?

2021-02-06 Thread Ricardo Wurmus
zimoun writes: > Ricardo wrote a R helper: > > > > Basically, it does more or less what “guix install” does but directly in > the R repl. Maybe it is what you want. It also imports packages on the fly in case they don’t exist in Guix yet. --

Guix + User Namespaces wrapper (UGuix)

2021-02-06 Thread Roman Inflianskas
Hello, I'm writing a wrapper for Guix + User Namespaces called UGuix. The goal is to implement a tool that would be easy to use and that would provide users a possibility to install Guix, and then Guix packages without having a root. It's inspired by

Re: Wrapping an R script: how do I compose the R_LIBS_SITE environment variable?

2021-02-06 Thread zimoun
Hi, On Fri, 05 Feb 2021 at 17:14, divoplade wrote: > I am using guix to write R packages. For convenience, I created a small > R script that does the job. Is “guix import cran” not enough? What is the source of these R packages? Well, could you be more specific about “using guix to write R

Re: EXWM: file or program not found, ls

2021-02-06 Thread Olivier Rojon
Hello everyone :) so I figured out what the problem was and am super happy it had nothing to do with Guix but was related to my Emacs init file. The culprit was in the (custom ...)-form. I had (exec-path) defined to values Guix probably couldn't use properly. Deleting (exec-path ...) from

Re: Running Substitute Server over https

2021-02-06 Thread Phil
> That's all ‘guix publish’ does; it doesn't speak HTTPS. Ahh ot-it, so I just need to stick it behind a reverse proxy - thanks for clarifying.

Re: Running Substitute Server over https

2021-02-06 Thread Edouard Klein
Hi phil, Not answering your question directly, but last time I wanted to secure the connection between a client and a substitute I used an ssh tunnel: # On the server guix archive --generate-key ssh root@client guix archive --authorize < /etc/guix/signing-key.pub guix publish& ssh -N -R

Re: Running Substitute Server over https

2021-02-06 Thread Tobias Geerinckx-Rice
Phil, Phil 写道: I have a substitute server running trivially using http, That's all ‘guix publish’ does; it doesn't speak HTTPS. That's by design (at least I hope it is): TLS should be handled by a separate, well-audited proxy layer. Ideally one written in C. but there doesn't seem to be

Running Substitute Server over https

2021-02-06 Thread Phil
Hi all, I have a substitute server running trivially using http, but there doesn't seem to be anything in the manual about how/where to configure my certificate file, etc, to run a server over https. Can anyone advise on https setup for 'guix publish'? Thanks, Phil.