1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-25 06:31:14 +02:00

add ccacheStdenv

when using ccache, rebuild time has been measured
89% faster while not slowing the speed of cold builds
This commit is contained in:
Solène Rapenne 2022-09-23 11:21:19 +02:00
parent fbd0a6c6e2
commit e04b38f789
2 changed files with 5 additions and 2 deletions

View file

@ -23,7 +23,7 @@
crossSystems = [ "armv6l-linux" "armv7l-linux" ];
stdenvs = [ "gccStdenv" "clangStdenv" "clang11Stdenv" "stdenv" "libcxxStdenv" ];
stdenvs = [ "gccStdenv" "clangStdenv" "clang11Stdenv" "stdenv" "libcxxStdenv" "ccacheStdenv" ];
forAllSystems = f: nixpkgs.lib.genAttrs systems (system: f system);
forAllSystemsAndStdenvs = f: forAllSystems (system: