buildLinux: allow overriding stdenv on each call

This commit is contained in:
Vladimír Čunát
2017-08-20 08:07:29 +02:00
parent 0a4d102b98
commit 7c7c83e233
4 changed files with 6 additions and 4 deletions

View File

@@ -6,7 +6,7 @@ let
);
origKernel = pkgs.buildLinux {
inherit (pkgs.linux) src version;
inherit (pkgs.linux) src version stdenv;
inherit configfile;
allowImportFromDerivation = true;
kernelPatches = [ pkgs.kernelPatches.cifs_timeout_2_6_38 ];