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
@ -21,7 +21,8 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
nativeBuildInputs = [ perl ] ++ kernel.moduleBuildDependencies;
|
nativeBuildInputs = [ perl ] ++ kernel.moduleBuildDependencies;
|
||||||
|
|
||||||
buildPhase = "make module";
|
buildFlags = [ "module" ];
|
||||||
|
installTargets = [ "module-install" ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
inherit (wireguard-tools.meta) homepage license maintainers;
|
inherit (wireguard-tools.meta) homepage license maintainers;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user