GNU bug report logs -
#60827
[PATCH 0/3] Add perl-par, xforms, and dozenal package definitions
Previous Next
Reported by: Jake Leporte <jakeleporte <at> outlook.com>
Date: Sun, 15 Jan 2023 06:57:01 UTC
Severity: normal
Tags: patch
Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Hi,
On 2023-01-23 21:02, Jake Leporte wrote:
> + (add-after 'install-html-docs 'split-outputs
> + (lambda* (#:key inputs outputs #:allow-other-keys)
> + (let* ((out (assoc-ref outputs "out"))
> + (gui (assoc-ref outputs "gui"))
> + (perl-tk (assoc-ref inputs "perl-tk"))
> + (perl-par (assoc-ref inputs "perl-par"))
> + (perl-dir "/lib/perl5/site-perl")
> + (ptk (string-append perl-tk perl-dir))
> + (pp (string-append perl-par perl-dir)))
This part can be written with G-Expressions too, they would correspond to:
out -> #$output (no change)
gui -> #$output:gui
See the G-Expressions section from the manual and the libavif package definition for an example.
Cheers,
Bruno
This bug report was last modified 2 years and 142 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.