Export PDFs in Emacs Org

2021-03-12 Thread Phil
Hi, I've been trying to export emacs org files into PDFs using Guix. I've the PDF generation from the .tex file is failing. The issue has been discussed a few times previously, eg: https://lists.gnu.org/archive/html/help-guix/2019-02/msg00087.html But there is conflicting advice over what packa

Re: error: corrupt input while restoring archive from socket

2021-03-12 Thread Mikhail Kryshen
Mikhail Kryshen writes: > Mikhail Kryshen writes: > >> Fulbert writes: >> >>> Hello Guixers, >>> >>> For the past few days… maybe a couple of weeks (not sure when >>> it started exactly), I have had frequent errors with >>> substitutions. Those errors are not [always] reproducible as >>> anothe

Re: Export PDFs in Emacs Org

2021-03-12 Thread Ricardo Wurmus
Hi Phil, > But there is conflicting advice over what packages should or shouldn't > be installed typically some combinaton of: > texlive-base, texlive-bin, texlive-latex-base, texlive-latext-font > > The latest advice seems to be the only texlive-base should be necessary > and installing others

Error with guile function format

2021-03-12 Thread edk
Dear Guixers, In a channel-that-should-not-be-named, there is the following snippet (apply invoke "7z" "e" (assoc-ref %build-inputs "patch-data") (map (cut format "quake3-latest-pk3s/baseq3/pak~a.pk3" <>) (iota 8 1))) Which, as far as my limite

Re: Error with guile function format

2021-03-12 Thread JOULAUD François
Hello, On Fri, Mar 12, 2021 at 05:53:27PM +0100, e...@beaver-labs.com wrote: > Yet the build fail with the following error message: > > In ice-9/format.scm: > 43:8 0 (format "quake3-latest-pk3s/baseq3/pak~a.pk3" 1) > > ice-9/format.scm:43:8: In procedure format: > format: expected a string

Re: Error with guile function format

2021-03-12 Thread divoplade
Le vendredi 12 mars 2021 à 17:53 +0100, e...@beaver-labs.com a écrit : >(apply invoke "7z" "e" (assoc-ref %build-inputs "patch- > data") > (map (cut format "quake3-latest- > pk3s/baseq3/pak~a.pk3" <>) >(iota 8 1))) Hello Edouard, The first arg

Re: Error with guile function format

2021-03-12 Thread Ricardo Wurmus
Hi, > (cut format "quake3-latest-pk3s/baseq3/pak~a.pk3" <>) this is not correct. “format” expects as its first argument a port or #true/#false, then it takes the format string followed by values for each placeholder. If you want to generate strings you should do (cut format #false "quake3-

Re: Setting up guix source tree for testing a package

2021-03-12 Thread Joshua Branson
Zelphir Kaltstahl writes: > Hello Guix Users, > > I am trying to set up GNU Guix for package testing, as I want to test a > package > before sending in a patch to add it to GNU Guix. > > I'll describe the steps I am taking and where I am seeing them in the docs in > the following. > > All is hap

Segfault when building GTK+ application with Meson

2021-03-12 Thread HiPhish
Hello everyone, I have a weird problem: when I create a Guix environment for GTK+ development and when I use Meson to build the project I get a segmentation fault when I run the compiled application. I have tried with a basic C example from Meson's website[1]. Here is the environment manifest:

Re: Export PDFs in Emacs Org

2021-03-12 Thread Phil Beadling
On Fri, 12 Mar 2021 at 15:57, Ricardo Wurmus wrote: > > > >Dependent on the needs of your document, though, you will need to > >install more packages that are not part of the “required” set (even > >though other distributions may have them installed for convenience). > >Exactly what those are is

Re: Setting up guix source tree for testing a package

2021-03-12 Thread Leo Famulari
On Fri, Mar 12, 2021 at 12:31:36AM +0100, Zelphir Kaltstahl wrote: > > ./bootstrap > ./configure --localstatedir=some_directory > > > But here I am facing a problem. I have no clue what to set the > `--localstatedir=directory` to. The docs tell me it is important, but I see no > instruct

Re: Export PDFs in Emacs Org

2021-03-12 Thread Dr. Arne Babenhauserheide
Ricardo Wurmus writes: > Hi Phil, > >> But there is conflicting advice over what packages should or shouldn't >> be installed typically some combinaton of: >> texlive-base, texlive-bin, texlive-latex-base, texlive-latext-font >> >> The latest advice seems to be the only texlive-base should be ne

Re: Export PDFs in Emacs Org

2021-03-12 Thread Ricardo Wurmus
Dr. Arne Babenhauserheide writes: > Ricardo Wurmus writes: > >> Hi Phil, >> >>> But there is conflicting advice over what packages should or shouldn't >>> be installed typically some combinaton of: >>> texlive-base, texlive-bin, texlive-latex-base, texlive-latext-font >>> >>> The latest advice

Re: Error with guile function format

2021-03-12 Thread Edouard Klein
Dear François, Ricardo and divoplade, This was indeed the issue, and the correct fix. Thank you for your explanations. I'm not familiar with the notion of ports, coming from languages that don't have them, but I see now how useful they are ! They're like the standard input/output of the shell, wit

Re: How to compose sysctl-service-type?

2021-03-12 Thread Leo Famulari
On Wed, Mar 10, 2021 at 12:05:37PM -0500, Leo Famulari wrote: > I'm trying to set some default sysctl settings for Guix System: > > https://bugs.gnu.org/47013 > > The problem is that I can't figure out how to compose the > sysctl-service-type. Overall, I'm really confused at the variety of ways >

Black magic to pass around environment variables?

2021-03-12 Thread raingloom
Motivation: xfce4-terminal runs as a terminal and doesn't propagate environment variables, which makes it a bit cumbersome to use it with complex `guix environment` setups. While an upstream fix would be nice, this is a general problem and one that shouldn't require special handling in every applic