diff options
Diffstat (limited to 'pkgs/build-support')
-rw-r--r-- | pkgs/build-support/vm/default.nix | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/pkgs/build-support/vm/default.nix b/pkgs/build-support/vm/default.nix index 8322b689646..f4d34584d25 100644 --- a/pkgs/build-support/vm/default.nix +++ b/pkgs/build-support/vm/default.nix @@ -7,9 +7,7 @@ rec { # The 15 second CIFS timeout is too short if the host if heavily # loaded (e.g., in the Hydra build farm when it's running many jobs # in parallel). So apply a patch to increase the timeout to 120s. - kernel = pkgs.linux.override (orig: { - kernelPatches = orig.kernelPatches ++ [ kernelPatches.cifs_timeout ]; - }); + kernel = assert pkgs.linux.features.cifsTimeout; pkgs.linux; kvm = pkgs.qemu_kvm; |