[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [WIP][PATCH] profiles: info-dir-file: Don't consider unwanted manife
From: |
Martin Castillo |
Subject: |
Re: [WIP][PATCH] profiles: info-dir-file: Don't consider unwanted manifest entries |
Date: |
Fri, 15 Dec 2017 16:40:33 +0100 |
Hi,
in the second patch file:
> + ;; We only need to build the 'dir' file for inputs that does
containing info
> + ;; manuals.
s/containing/contain
On 15.12.2017 16:12, 宋文武 wrote:> Hello!
>
> Currently we run profile hooks for all manifest inputs, so if you
> install a new package to your profile, all profile hooks will be run
> again, even if the new package doesn't provide info manuals, man pages,
> etc. Ideally only interested hooks need to be run, eg: if the new
> package has info manuals, then the 'info-dir-file' hook will run.
One would need to filter man-pages too, right?
+ (define interested
+ (eval-gexp
+ #~(filter
+ (lambda (input)
+ (or (file-exists? (string-append input "/share/info"))
+ (file-exists? (string-append input "/share/man"))))
+ '#$(manifest-inputs manifest))))
>
> I get it works somehow, but breaks the '--dry-run' functionality which I
> have no idea how to preserve...
>
>
>
>
>
> Needing help and directions, thanks!
>
I can barely write scheme. I can't help much, sorry.
Martin
--
GPG: 7FDE 7190 2F73 2C50 236E 403D CC13 48F1 E644 08EC