packages/linux-lava: don't use ccache by default

This commit is contained in:
LavaDesu 2025-03-18 00:09:46 +11:00
parent 6eda948d6e
commit 4ce28a177c
Signed by: cilly
GPG key ID: 6500251E087653C9
3 changed files with 6 additions and 5 deletions

View file

@ -3,6 +3,7 @@
, inputs
, lib
, linuxLavaEnv
, useCcache ? false
, ...
} @ args:
@ -10,7 +11,7 @@ let
sources = callPackage ./sources.nix { inherit inputs; };
kernel = buildLinux (args // {
inherit (sources) src kernelPatches;
inherit (linuxLavaEnv) stdenv;
stdenv = if useCcache then linuxLavaEnv.ccacheStdenv else linuxLavaEnv.stdenv;
version = "${sources.version}-tkg-Lava";
isZen = true;
extraMakeFlags = [ "LLVM=1" "LLVM_IAS=1" ];