mirror of
https://github.com/NixOS/nix
synced 2025-07-07 06:01:48 +02:00
Patch libzip to return timestamps in the Unix epoch
We're not even using those timestamps, but doing the conversion to local time takes a lot of time. For instance, this patch speeds up 'nix flake metadata nixpkgs` from 0.542s to 0.094s.
This commit is contained in:
parent
0286edb588
commit
1483c56582
3 changed files with 21 additions and 11 deletions
|
@ -115,6 +115,7 @@
|
|||
(libzip.overrideDerivation (old: {
|
||||
# Temporary workaround for https://github.com/NixOS/nixpkgs/pull/178755
|
||||
cmakeFlags = old.cmakeFlags or [] ++ [ "-DBUILD_REGRESS=0" ];
|
||||
patches = [ ./libzip-unix-time.patch ];
|
||||
}))
|
||||
boost
|
||||
lowdown-nix
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue