mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
nixos.tests.boot-stage1: fix missing libelf
This commit is contained in:
parent
b332924e6a
commit
1cacfe357b
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user