diff options
author | Maximilian Bosch <maximilian@mbosch.me> | 2019-03-15 22:43:28 +0100 |
---|---|---|
committer | Maximilian Bosch <maximilian@mbosch.me> | 2019-03-15 22:45:14 +0100 |
commit | 2c3ab523d3fc47c2bbb1a34e09096e02be884fde (patch) | |
tree | 7c6255a4bebad4a6687f741eea25dc2862493e26 /pkgs/os-specific/linux/wireguard | |
parent | f96f14f69ea62f79695dc56f38b185a8eeb01808 (diff) | |
download | nixpkgs-2c3ab523d3fc47c2bbb1a34e09096e02be884fde.tar nixpkgs-2c3ab523d3fc47c2bbb1a34e09096e02be884fde.tar.gz nixpkgs-2c3ab523d3fc47c2bbb1a34e09096e02be884fde.tar.bz2 nixpkgs-2c3ab523d3fc47c2bbb1a34e09096e02be884fde.tar.lz nixpkgs-2c3ab523d3fc47c2bbb1a34e09096e02be884fde.tar.xz nixpkgs-2c3ab523d3fc47c2bbb1a34e09096e02be884fde.tar.zst nixpkgs-2c3ab523d3fc47c2bbb1a34e09096e02be884fde.zip |
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>
Diffstat (limited to 'pkgs/os-specific/linux/wireguard')
-rw-r--r-- | pkgs/os-specific/linux/wireguard/default.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/os-specific/linux/wireguard/default.nix b/pkgs/os-specific/linux/wireguard/default.nix index e103de3e1b7..02e08bec7ad 100644 --- a/pkgs/os-specific/linux/wireguard/default.nix +++ b/pkgs/os-specific/linux/wireguard/default.nix @@ -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; |