Skip to content

Commit

Permalink
nixos.tests.boot-stage1: fix missing libelf
Browse files Browse the repository at this point in the history
  • Loading branch information
vcunat committed Feb 22, 2018
1 parent b332924 commit 1cacfe3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nixos/tests/boot-stage1.nix
Expand Up @@ -9,6 +9,7 @@ import ./make-test.nix ({ pkgs, ... }: {
kver = config.boot.kernelPackages.kernel.modDirVersion;
ksrc = "${kdev}/lib/modules/${kver}/build";
hardeningDisable = [ "pic" ];
nativeBuildInputs = kdev.moduleBuildDependencies;
} ''
echo "obj-m += $name.o" > Makefile
echo "$source" > "$name.c"
Expand Down

0 comments on commit 1cacfe3

Please sign in to comment.