Edouard Klein writes:
> Here is a script that restores the ctrl-C behaviour of R, whithin a guix
> shell.
>
> I must admit I don't exactly understand the finer points of why it works, but
> just trapping SIGINT in the script is enough for R to behave.
>
> My intuition is SIGINT is sent to the
Edouard Klein writes:
> Hi Kyle,
>
>
> Running
> guix shell r
>
> and then
> R
>
> will get you the C-c handling you want.
Hi Edouard,
I wrote another reply, but forgot to comment on this because I feel like I am
missing something here.
It would be really convenient if I could just write a
yet found an
approach that worked.
I placed a basic R manifest here if anyone would like to try:
=> https://paste.debian.net/1284782/
Basically my shell script was:
```
#!/bin/sh
guix shell -m /tmp/manifest.scm -- R --no-save --quiet --no-restore
```
In the R REPL I interactively test the probl
Dear Guix,
When I run `guix install r` and then start an R process I get a
readline-enabled REPL where I can abort commands with C-c C-c while keeping the
process alive afterwards. When I run R from `guix shell r -- R` I don't get any
readline support in R. Pressing C-c immediately aborts the
"(" writes:
> Kyle writes:
>> The context is that my R package calls a bunch of shell scripts stored
>> inside it. I am getting errors about
>> /usr/bin/env not being available (e.g. bad interpreter: no such file or
>> directory), so was thinking that their
>> shebangs were not getting patch
Dear Guix,
The (many) shell scripts in my software depend on bashisms. In the code right
now I typically use /usr/bin/env bash since I had read that was the most
portable way of referencing a shell. However, I really don't think I have a
good handle on what my choices are. Maybe the tedious s
"(" writes:
> [[PGP Signed Part:Undecided]]
> Heya,
>
> On Sun Apr 9, 2023 at 4:15 AM BST, Kyle Andrews wrote:
>> > (lambda _
>> > (mkdir (string-append #$output "/bin"))
>> > (copy-file "i
Simon Tournier writes:
> Hi,
>
> On ven., 31 mars 2023 at 23:21, Kyle Andrews wrote:
>
>>(let ((out (assoc-ref outputs "out")))
>> ;;; TODO: this doesn't work!
>> ;; copy site-library/litt
Dear Guix,
I'd like to be able to have access the yp-tools package with Guix from a
foreign distro. Particularly, I want to be able to call yp-cat since I
have placed some optional functionality which does this in an R
package using it's `system` command.
I had been using yp-cat on Ubuntu (wher
Dear Guix,
I want to package the littler R package.
Unlike most R packages, this one provides an executable (a little r to
complement the big R) that should go on the PATH rather than be tucked
away into site-library where it cannot be used. Surprisingly, to me,
when the command below fails ...
Dear Guix,
Part of my scientific workflow involves compiling a small Racket script
for a command line program into its executable and placing that on
PATH. I had bundled this script inside an R package which made sure it
got compiled and everything was correctly configured at library load
time.
Julien Lepiller writes:
> guix system describe lists channels used to build your system, but
> they can be different from the ones currently known to guix.
That seems consistent with what I have observed.
> Does your /etc/channels.scm list the extra channels?
At this point it does not. I "re
Dear Guix,
I am using herbstluftwm as my window manager on my old Guix laptop. It
shows up as an option in a bottom right corner of GDM. On my new laptop,
this menu doesn't show up. In both cases I have included herbstluftwm as
a required package in my config.scm file. My old laptop's config.scm
SeerLite writes:
> `sudo guix system reconfigure` and any `guix package` command will (by
> default) use the generation shown in `guix describe`. On first boot,
> this generation _will_ be different from the one you had in the live
> system. This is because the generation is saved at
> ~/.confi
Dear Guix,
I am trying (and failing) to setup a new computer with Guix. I managed
to get through the installation process with a configuration that boots
into GNOME. However, the keyboard is messed up (I made a typo) and I
don't yet have the desktop environment up and running I actually feel
pro
Simon Tournier writes:
> (I let aside the inferior part that you do not need, IMHO.)
I hope you are right. I will keep thinking about it and will try to
revisit some of my assumptions.
> The computational environment you create with Conda is totally
> inconsistent in regard to the Python vers
Kyle Andrews writes:
> Kyle Andrews writes:
>
>> There seems to be some secret Guile incantation I am overlooking. Could
>> you give me a hint of what this could be?
>
> Tobias pointed out to me that the Guile developers could be to blame
> here. They appear
Kyle Andrews writes:
> There seems to be some secret Guile incantation I am overlooking. Could
> you give me a hint of what this could be?
Tobias pointed out to me that the Guile developers could be to blame
here. They appear a bit too preoccupied with prematurely optimizing the
speed o
Simon Tournier writes:
>
> You might be interested by the unexported procedure from (guix
> build-system python)
Thanks, Simon. Wojtek already suggested this procedure to me and I have
been trying to understand it. Unfortunately, I am stuck earlier than I
originally thought. I can't figure out
ps://git.savannah.gnu.org/cgit/guix.git/tree/guix/build-system/python.scm?id=b544f460989a6189af111bb3ff6752cabdf23abc#n82
>>
>> -- (sig_start)
>> website: https://koszko.org/koszko.html
>> PGP: https://koszko.org/key.gpg
>> fingerprint: E972 7060 E3C5 637C 8A4F 4B42 4
Dear Guix,
I want to use the python-apted package in my manifest. That package is
not in Guix, but can readily be fetched from:
```
guix import pypi APTED > python-apted.scm
```
I just had to prefix the following modules to turn that into a package
definition as well as a manifest.
```
(use-m
Simon Tournier writes:
> About squashfs (Singularity container), you can try:
>
> guix pack -f squashfs python python-numpy bash-minimal -S /bin=bin
>
> which will produce a compressed squashfs that you then import with
> Singularity.
This is pretty much what I had tried minus the `-S /bin
Simon Tournier writes:
> I am using multiple profiles and I barely hit collisions. Given one
> specific revision of Guix, collisions should not be possible – it means
> something is wrong somewhere with package definition; although, maybe it
> is impossible to avoid some collisions with large
was no X11 available and so it errored out.
It seems that multiple -p arguments to guix shell doesn't really work
like I would hope. Ideally it would produce the same sort of system
environment as is produced by eval'ing `guix package --search-paths` with
multiple profiles.
宋文武 writes:
&g
Dear Guix,
I am wondering how I can/should go about isolating containers created
using `guix pack`. Right now they are inheriting configurations from my
personal user folder.
My system administrators are still quite skeptical about installing
Guix, but they have made it convenient to submit sin
Simon Tournier writes:
> Hi,
>
> On Wed, 28 Dec 2022 at 15:09, Gottfried wrote:
>
>> Which commands can I use to enter and close my new profile?
>
> To enter, you just need to ’source path/to/some-profile/etc/profile’.
>
> However, you cannot “deactivacte“; unset the environment variables and
Julien Lepiller writes:
> Hi Andy,
>
> I'm the author of this advice. I think it's still correct. It's mostly
> sanity checks that you would run to ensure you can get packages from
> this channel. Most of it is scattered around the manual, mostly in the
> manual installation documentation.
>
>
I'm very excited about this! Thank you so much for your efforts! Having
a modified SXMO using Emacs wherever possible running on a Guix powered
PinePhone would be my dream come true.
"jgart" writes:
> Sorry! I forgot to change the Subject for the digest. I hope this works...
>
> Forwa
Hi,
I want to use the R package gpg which provides bindings to GPGME from
within Guix. Most of the time packaging R things is really easy thanks
to the handy `guix import cran' command. Unfortunately, something is
breaking with GPGME which is making this not work as I
expected. Unfortunately, I
Dear Guix,
How can I configure the offload functionality to check whether the build
machines specifiec in ~/etc/guix/machines.scm~ are available first; and
if they are not (e.g. because I am roaming outside my local network)
just proceed with builds locally so that I don't have to remember to
pa
Pierre Neidhardt writes:
> It works on and off for me, sometimes with the same error.
> I haven't figured out yet how to reproduce this issue reliably.
Part of the reason it may have been breaking for me was that I was
placing an additional git checkout of guix on my guile %load-path. I
don't r
Wiktor Żelazny writes:
> On Fri, Jun 26, 2020 at 06:12:23PM -0400, Kyle Andrews wrote:
>
>> I figured out how to successfully print a document using ~libreoffice
>> --headless -p test.odt~. So, I think my printer problem is actually
>> reflecting a problem with syste
Wiktor Żelazny writes:
> On Fri, Jun 26, 2020 at 02:13:14PM -0400, Kyle Andrews wrote:
>>
>> Wiktor Żelazny writes:
>>
>> > Does /gnu/store/.../cups/filter/rastertoqpdl exist?
>>
>> Yes, it exists in the splix package, but not in the cups package.
>
Wiktor Żelazny writes:
> On Fri, Jun 26, 2020 at 12:56:08PM -0400, Kyle Andrews wrote:
>
>> I observed no change in the error I get when trying to print a test
>> page.
>
> Does /gnu/store/.../cups/filter/rastertoqpdl exist?
>
> Is the user printing the test
Wiktor Żelazny writes:
> On Thu, Jun 25, 2020 at 10:11:36PM -0400, Kyle Andrews wrote:
>
>> (use-modules ...
>> (gnu packages cups)
>> ...)
>
>> (service cups-service-type
>> (cups-configuration
>>
Kyle Andrews writes:
> Dear Guix,
>
> Could you help me get my printer working?
>
> I setup my cups service:
>
> ...
> (use-modules ...
>(gnu packages cups)
> ...)
> (use-service-modules ... cups ...)
> ...
> (service cup
Dear Guix,
Could you help me get my printer working?
I setup my cups service:
...
(use-modules ...
(gnu packages cups)
...)
(use-service-modules ... cups ...)
...
(service cups-service-type
(cups-configuration
(extensions
Hello Everyone,
I am unable to conditional tab completion of Guix commands when in
shell-mode or eshell-mode in Emacs. In other words, I can tab-complete
the major modules e.g. ~guix package~, but cannot tab complete
~--arguments~ to them. When I try I see an error:
guix-geiser-eval: Error in
,%nm-static-connection
...))
I haven't tested it quite yet, but it makes some sense to me. If you
think this is not exactly the right approach, please let me
know.
Kyle Andrews writes:
> Dear Guix,
>
> I would like to setup my desktop computer so
Ricardo Wurmus writes:
> Ricardo Wurmus writes:
>
>> Kyle Andrews writes:
>>
>>> […] Below I provide
>>> links to the NixOS RStudio package along with Rekado's package of an
>>> older version of RStudio (which also didn't build for
On my guix (d441a6455051d70d7ff0d951c7e68318499b1739), a quick search
(guix\\.d[^a-z]) using the silver-searcher reveals several additional
packages and documentation makes references to these directories
including several emacs packages as well as:
cedille in gnu/packages/cedille
uim in gnu/pac
emacs-ess build ESS version 17.11 which is significantly out-of-date as
well. The latest release is 18.10.
Pierre Neidhardt writes:
> If I recall correctly, a number of packages had to be updated after the
> transition to the new build system. I suppose that emacs-ess was left aside.
Ricardo Wurmus writes:
> Hi Kyle,
Hi Ricardo,
> It’s on my list to eventually package a more recent version of Rstudio.
> I’ve been using the older version for quite some time at the institute,
> but it’s possible that with recent upgrades to Guix the package no
> longer builds.
>
> One obst
Dear Guix,
Now that Qt 5.12 and qtwebengine have been added to Guix, would an
experienced packager be able to add RStudio to Guix? It appears that all
of the dependencies referenced in the NixOS package definition are also
packaged for Guix. Many thousands of R users are enthusiastic about
Repro
44 matches
Mail list logo