|
From: | Gábor Boskovits |
Subject: | Re: proposal: with-file-writeable |
Date: | Thu, 15 Feb 2018 14:53:52 +0100 |
Gábor Boskovits <address@hidden> skribis:
> Ok, the keep it this way. Another question, this came up, as
> I was trying to find a nice solution to reset-gzip-timestamps failing.
> I got different pieces of advice if I should reset the permissions after
> resetting the timestamp, but I'm still not sure. It seems that the easiest
> way to this would be to just add a call to make-file-writable to the phase
> at the beginning, as we finally end up with a read-only one in the store
> anyway. I feel that reseting the permissions is unneccesary additional
> complexity. WDYT?
I don’t know, is this (read-only permission on installed files) a common
problem?
As you can see I’m fairly conservative when it comes to changing (guix
build utils). :-)
The reason for this is that changing it entails full rebuilds. Thus,
the approach so far is to try to make the procedures in there fairly
generic (with keyword/optional parameters, etc.) so that they are
applicable to a wide range of use cases. At the same time, we try to
make changes there only when we’d have to repeat ourselves in package
recipes. If a problem shows up in just one package, we adjust the
package definition and leave (guix build utils) unchanged.
Ludo’.
[Prev in Thread] | Current Thread | [Next in Thread] |