On 08/14/2016 04:13 PM, Ronny Pfannschmidt wrote: > on nix it is a regular problem for me that zip file generating tools fail > due to the epoch time being set to a time that's not supported in the > zip format > (mostly python wheels) > > i would like to propose setting that epoch by default to something that > is supported by zip
We discussed that zip problems aren't that bad to change timestamps of /nix/store paths directly (1.1. 1970). For python and similar we have a hook that touches source files after "unpacking" phase - the typical problem is after fetch* other than fetchurl. Typical usage: buildInputs = [ (ensureNewerSourcesHook { year = "1980"; }) ] Note that our generic python builder already does use the hook automatically. --Vladimir
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev