bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: More robust substitute*


From: Andreas Enge
Subject: Re: More robust substitute*
Date: Sat, 2 Feb 2013 18:22:02 +0100
User-agent: KMail/1.13.7 (Linux/3.2.0-4-amd64; KDE/4.8.4; x86_64; ; )

Am Samstag, 2. Februar 2013 schrieb Ludovic Courtès:

> Andreas Enge <address@hidden> skribis:

> > in texlive, there are lots of scripts to be installed in share; thus,

> > the patch-shebang phase does not catch them.

> Do you know why it doesn’t catch them? The ‘patch-source-shebangs’

> phase patches all the files found under “.”, recursively.

 

I am not speaking about patch-source-shebangs, but patch-shebangs. Texlive consists of three source packages. The first one contains the source for the binaries, the other two contain files to be installed under "share". I unpack these after the installation procedure and copy them to "share".

 

But if patch-source-shebangs works recursively, I should maybe unpack everything first and let it do its magic. I will give it a try.

 

In any case, I have a working texlive! It contains over 100000 files (that are symlinked from the user profile...) and takes over 3GB, but it works!

 

Actually, I think one does not need to symlink the files from the user profile; tex has its own way of finding files via the binary "kpsewhich" (linked from the user profile), which points directly to the nix store:

$ kpsewhich article.sty

/nix/store/2cc4xyivn5f52gywl5mnz6fi90bj24xh-texlive-2012/share/texmf-dist/tex/latex/base/article.sty

 

So maybe by splitting into two or three packages, one could hide the data in the nix store. I will think about it.

 

Andreas

 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]