tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
ena: pass makeFlags from kernel
Nick Cao
3 years ago
07d1ce68
694eef94
+2
-1
1 changed file
expand all
collapse all
unified
split
pkgs
os-specific
linux
ena
default.nix
+2
-1
pkgs/os-specific/linux/ena/default.nix
···
14
14
hardeningDisable = [ "pic" ];
15
15
16
16
nativeBuildInputs = kernel.moduleBuildDependencies;
17
17
+
makeFlags = kernel.makeFlags;
17
18
18
19
# linux 3.12
19
20
NIX_CFLAGS_COMPILE = "-Wno-error=implicit-function-declaration";
···
27
28
28
29
installPhase = ''
29
30
runHook preInstall
30
30
-
strip -S ena.ko
31
31
+
$STRIP -S ena.ko
31
32
dest=$out/lib/modules/${kernel.modDirVersion}/misc
32
33
mkdir -p $dest
33
34
cp ena.ko $dest/