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"));
in (optionalAttrs isModular { outputs = [ "out" "dev" ]; }) // {
passthru = {
inherit version modDirVersion config kernelPatches;
inherit version modDirVersion config kernelPatches configfile;
};
inherit src;