Fix some instances of #33166 correctly

This commit is contained in:
Franz Pletz
2017-12-29 22:35:32 +01:00
parent 5997b4f3db
commit 1fb0d3d158
3 changed files with 6 additions and 8 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, libmnl, libelf, kernel ? null }:
{ stdenv, fetchurl, libmnl, kernel ? null }:
# module requires Linux >= 3.10 https://www.wireguard.io/install/#kernel-requirements
assert kernel != null -> stdenv.lib.versionAtLeast kernel.version "3.10";
@@ -37,7 +37,7 @@ let
NIX_CFLAGS = ["-Wno-error=cpp"];
buildInputs = [ libelf ];
nativeBuildInputs = kernel.moduleBuildDependencies;
buildPhase = "make module";
};