-
-
Notifications
You must be signed in to change notification settings - Fork 15.5k
wireguard-tools: 0.0.20190123 -> 0.0.20190227 #57534
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@GrahamcOfBorg build wireguard-tools linuxPackages.wireguard |
@GrahamcOfBorg build wireguard-tools linuxPackages.wireguard |
build failures look like a missing dependency |
@elseym when bumping I tried to fix the breaking build with the following patch locally: diff --git a/pkgs/os-specific/linux/wireguard/default.nix b/pkgs/os-specific/linux/wireguard/default.nix
index e103de3e1b7..e13828d018a 100644
--- a/pkgs/os-specific/linux/wireguard/default.nix
+++ b/pkgs/os-specific/linux/wireguard/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, kernel, wireguard-tools, perl }:
+{ stdenv, kernel, wireguard-tools, perl, libmnl }:
# module requires Linux >= 3.10 https://www.wireguard.io/install/#kernel-requirements
assert stdenv.lib.versionAtLeast kernel.version "3.10";
@@ -21,6 +21,8 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ perl ] ++ kernel.moduleBuildDependencies;
+ buildInputs = [ libmnl ];
+
buildPhase = "make module";
meta = with stdenv.lib; { However it breaks with the following error then:
This is probaly related to some |
thank you, @Ma27 ! 🙇 |
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>
@GrahamcOfBorg build wireguard-tools linuxPackages.wireguard |
After working on the last wireguard bump (NixOS#57534), we figured that it's probably a good idea to have a basic test which confirms that a simple VPN with wireguard still works. This test starts two peers with a `wg0` network interface and adds a v4 and a v6 route that goes through `wg0`.
After working on the last wireguard bump (#57534), we figured that it's probably a good idea to have a basic test which confirms that a simple VPN with wireguard still works. This test starts two peers with a `wg0` network interface and adds a v4 and a v6 route that goes through `wg0`. (cherry picked from commit 0c4e9e3)
Motivation for this change
update wireguard-tools
/cc @kirelagin
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)