3
0
Fork 0
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:
aszlig 2016-10-09 14:12:45 +02:00
parent 78fdf21710
commit aeec1bc5c8
No known key found for this signature in database
GPG key ID: 1DE8E48E57DB5436

View file

@ -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;