forked from mirrors/nixpkgs
wireguard: require Linux >= 4.1 for module build (#17632)
This commit is contained in:
parent
1713255827
commit
33166b7434
|
@ -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}";
|
||||
|
||||
|
|
Loading…
Reference in a new issue