linuxPackages.wireguard: fix build
Ensure that only module-related targets from the project's Makefile are built. Co-authored-by: elseym <elseym@me.com> Co-authored-by: Franz Pletz <fpletz@fnordicwalking.de>
This commit is contained in:
parent
f96f14f69e
commit
2c3ab523d3
1 changed files with 2 additions and 1 deletions
|
@ -21,7 +21,8 @@ stdenv.mkDerivation rec {
|
|||
|
||||
nativeBuildInputs = [ perl ] ++ kernel.moduleBuildDependencies;
|
||||
|
||||
buildPhase = "make module";
|
||||
buildFlags = [ "module" ];
|
||||
installTargets = [ "module-install" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
inherit (wireguard-tools.meta) homepage license maintainers;
|
||||
|
|
Loading…
Reference in a new issue