linux: Pass through configuration file

This enables "nix-build -A linux.configfile" to get the generated
kernel config.
This commit is contained in:
Eelco Dolstra 2015-10-26 16:16:40 +01:00
parent f1508b3a23
commit 50ab972b5a

View File

@ -76,7 +76,7 @@ let
(isModular || (config.isDisabled "FIRMWARE_IN_KERNEL")); (isModular || (config.isDisabled "FIRMWARE_IN_KERNEL"));
in (optionalAttrs isModular { outputs = [ "out" "dev" ]; }) // { in (optionalAttrs isModular { outputs = [ "out" "dev" ]; }) // {
passthru = { passthru = {
inherit version modDirVersion config kernelPatches; inherit version modDirVersion config kernelPatches configfile;
}; };
inherit src; inherit src;