wireguard: require Linux >= 4.1 for module build (#17632)

This commit is contained in:
Kranium Gikos Mendoza 2016-08-11 06:25:57 +08:00 committed by Franz Pletz
parent 1713255827
commit 33166b7434

View File

@ -1,5 +1,8 @@
{ stdenv, fetchgit, libmnl, kernel ? null }:
# module requires Linux >= 4.1 https://www.wireguard.io/install/#kernel-requirements
assert kernel != null -> stdenv.lib.versionAtLeast kernel.version "4.1";
let
name = "wireguard-unstable-${version}";