guix-devel
[Top][All Lists]
Advanced

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

Re: Some utility functions


From: Ludovic Courtès
Subject: Re: Some utility functions
Date: Sat, 05 Jan 2019 22:30:18 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

Hi Gábor,

Gábor Boskovits <address@hidden> skribis:

> I am not sure if I am duplicating functionality here, and also where
> these should belong, so I will send them here for discussion.

Thanks for sharing!  As Alex notes, some of these procedures are
more or less available in (guix build utils):

> (define (rm-recursive dir)

delete-file-recursively

> (define (check-header file header)

file-header-match

> (define (reset-zip-timestamps dir)
>   "Resets the timestamps of all zip achives under DIR."
>   (for-each repack-zip
>           (find-files dir ".*.(zip|jar|diz)$")))

That we don’t have (there’s ‘reset-gzip-timestamp’, with a ‘g’.)

How do we deal with that currently in Java packages?

Thanks,
Ludo’.



reply via email to

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