forked from mirrors/nixpkgs
tests/boot-stage1: Use runCommandCC for kcanary
Since 97bfc2fac9
, runCommand doesn't
include a compiler anymore. So let's switch to the new runCommandCC,
which resembles the old state.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
parent
78fdf21710
commit
aeec1bc5c8
|
@ -3,7 +3,7 @@ import ./make-test.nix ({ pkgs, ... }: {
|
|||
|
||||
machine = { config, pkgs, lib, ... }: {
|
||||
boot.extraModulePackages = let
|
||||
compileKernelModule = name: source: pkgs.runCommand name rec {
|
||||
compileKernelModule = name: source: pkgs.runCommandCC name rec {
|
||||
inherit source;
|
||||
kdev = config.boot.kernelPackages.kernel.dev;
|
||||
kver = config.boot.kernelPackages.kernel.modDirVersion;
|
||||
|
|
Loading…
Reference in a new issue