[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Tex packages on core-updates failing
From: |
Maxim Cournoyer |
Subject: |
Re: Tex packages on core-updates failing |
Date: |
Fri, 22 Apr 2022 00:17:08 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |
Hi,
phodina via <help-guix@gnu.org> writes:
> Hi,
>
> I'm attempting to build packages on branch core-updates
> (3f2b0e12f1ef0cc9e13d5ae00275fee8a0fa752d) and it seems some tex
> packages are broken.
>
> I've attempted to fix one of them - texlive-amsmath - but there's another
> failing - texlive-psnfss-fixed.
>
> I've found issue and applied patches about texlive-psnfss but now it does not
> build. [1]
>
> Could you please help?
>
> [1] https://issues.guix.gnu.org/53454#6
>
> ----
> Petr
>
>
> diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
> index 7fab21679e..c39a568e2b 100644
> --- a/gnu/packages/tex.scm
> +++ b/gnu/packages/tex.scm
> @@ -4168,11 +4168,15 @@ (define-public texlive-amsmath
> (add-before 'copy-files 'unchdir
> (lambda _
> (chdir "../../..")))
> - (add-after 'copy-files 'delete-extra-files
> - (lambda* (#:key outputs #:allow-other-keys)
> - (delete-file-recursively
> - (string-append (assoc-ref outputs "out")
> -
> "/share/texmf-dist/source/latex/amsmath/build"))))))))
> + (replace 'copy-files
> + (lambda* (#:key inputs outputs #:allow-other-keys)
> + (let ((origin (assoc-ref inputs "source"))
> + (source (string-append (assoc-ref outputs "out")
> + "/share/texmf-dist/source"))
> + (doc (string-append (assoc-ref outputs "doc")
> + "/share/texmf-dist/doc")))
> + (copy-recursively (string-append origin "/source") source)
> + (copy-recursively (string-append origin "/doc")
> doc))))))))
I think you're missing a "doc" output.
HTH,
Maxim