linuxPackages: build by kernel's stdenv

This commit is contained in:
Vladimír Čunát 2018-02-11 11:58:08 +01:00
parent ae040525d8
commit 169216fe14
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA
2 changed files with 3 additions and 1 deletions

View file

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

View file

@ -13052,6 +13052,7 @@ with pkgs;
callPackage = newScope self;
inherit kernel;
inherit (kernel) stdenv; # in particular, use the same compiler by default
acpi_call = callPackage ../os-specific/linux/acpi-call {};