summary refs log tree commit diff
diff options
context:
space:
mode:
authoraszlig <aszlig@redmoonstudios.org>2016-10-09 14:12:45 +0200
committeraszlig <aszlig@redmoonstudios.org>2016-10-09 14:15:19 +0200
commitaeec1bc5c8619833bdb78c7484821079726acf37 (patch)
tree349b2b775c730ab04e9ad86454f8aaefd2a51aff
parent78fdf21710e947f3f0552e4754fc38bcb6363d92 (diff)
downloadnixpkgs-aeec1bc5c8619833bdb78c7484821079726acf37.tar
nixpkgs-aeec1bc5c8619833bdb78c7484821079726acf37.tar.gz
nixpkgs-aeec1bc5c8619833bdb78c7484821079726acf37.tar.bz2
nixpkgs-aeec1bc5c8619833bdb78c7484821079726acf37.tar.lz
nixpkgs-aeec1bc5c8619833bdb78c7484821079726acf37.tar.xz
nixpkgs-aeec1bc5c8619833bdb78c7484821079726acf37.tar.zst
nixpkgs-aeec1bc5c8619833bdb78c7484821079726acf37.zip
tests/boot-stage1: Use runCommandCC for kcanary
Since 97bfc2fac92d90c668ae1ec078356d0bd0a9ddb7, 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>
-rw-r--r--nixos/tests/boot-stage1.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/boot-stage1.nix b/nixos/tests/boot-stage1.nix
index e9087edb5d5..50186525cf3 100644
--- a/nixos/tests/boot-stage1.nix
+++ b/nixos/tests/boot-stage1.nix
@@ -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;