3
0
Fork 0
forked from mirrors/nixpkgs

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 }: { 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 let
name = "wireguard-unstable-${version}"; name = "wireguard-unstable-${version}";