all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Taha Aziz Ben Ali <ba.tahaaziz@gmail.com>
To: help-guix@gnu.org
Cc: ba.tahaaziz@gmail.com, reza.housseini@gmail.com
Subject: Re: Cannot run texlive context: permission denied
Date: Sun, 05 May 2024 15:21:09 +0100	[thread overview]
Message-ID: <87seywnxuy.fsf@gmail.com> (raw)
In-Reply-To: 87a5mnelyi.fsf@gmail.com

I'm here to tell you that I found a working workaround for making
ConTeXt work through `mtxrun --script context`.

Create a "texmf/web2c/texmfcnf.lua" file (and preceeding directories)
under your user's home directory and add the following:


    return {
      content = {
         variables = {
           TEXMF = os.getenv("GUIX_ENVIRONMENT") .. "/share/texmf-dist"
        },
      },
    }


That should be enough to get the ball rolling. Note however that running
`context` independently from `mtxrun` continues to fail.

These changes should probably be added to the build derivation, it seems
that Guix' non-standard filesystem don't work well with TeXLive's
default settings.

Kind regards,
-- 
Aziz


             reply	other threads:[~2024-05-06 14:50 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-05 14:21 Taha Aziz Ben Ali [this message]
2024-05-18 14:35 ` Cannot run texlive context: permission denied Nicolas Goaziou via
2024-05-20  6:54   ` Taha Aziz Ben Ali
2024-05-20  8:28     ` Nicolas Goaziou via
2024-05-20  8:57       ` Nicolas Goaziou via
2024-05-20 19:11         ` Taha Aziz Ben Ali
2024-05-27 21:23         ` Taha Aziz Ben Ali
2024-05-28 19:11           ` Nicolas Goaziou via
2024-05-29  7:05             ` Taha Aziz Ben Ali
  -- strict thread matches above, loose matches on Subject: below --
2024-03-01 10:21 Reza Housseini
2024-03-24 14:36 ` Taha Aziz Ben Ali

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87seywnxuy.fsf@gmail.com \
    --to=ba.tahaaziz@gmail.com \
    --cc=help-guix@gnu.org \
    --cc=reza.housseini@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.