linuxPackages.wireguard: fix wireguard-tools bump

See 6fb56af8b2.

cc #50833
This commit is contained in:
Franz Pletz 2018-11-22 14:39:14 +01:00
parent 28cdc4b921
commit 73d7046362
No known key found for this signature in database
GPG key ID: 846FDED7792617B4

View file

@ -1,4 +1,4 @@
{ stdenv, kernel, wireguard-tools }:
{ stdenv, kernel, wireguard-tools, perl }:
# module requires Linux >= 3.10 https://www.wireguard.io/install/#kernel-requirements
assert stdenv.lib.versionAtLeast kernel.version "3.10";
@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
NIX_CFLAGS = ["-Wno-error=cpp"];
nativeBuildInputs = kernel.moduleBuildDependencies;
nativeBuildInputs = [ perl ] ++ kernel.moduleBuildDependencies;
buildPhase = "make module";