mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03:00
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 New Issue
Block a user