git.iko.soy/typeable/nixpkgs
on master help sign in
wireguard: use src from wireguard-tools
commitf8ed43e600228ab415866d4938703fa5eaa7b121 authorYegor Timoshenko <yegortimoshenko@riseup.net> dateSat 19 May 2018, 17:20 (9 years ago) parent95cf07f
1 file changed+2−5
pkgs/os-specific/linux/wireguard/default.nix+2−5
pkgs/os-specific/linux/wireguard/default.nix+2−5
@@ -1,4 +1,4 @@
1−{ stdenv, fetchzip, kernel }:
1+{ stdenv, fetchzip, kernel, wireguard-tools }:
22
33# module requires Linux >= 3.10 https://www.wireguard.io/install/#kernel-requirements
44assert stdenv.lib.versionAtLeast kernel.version "3.10";
@@ -7,10 +7,7 @@ stdenv.mkDerivation rec {
77 name = "wireguard-${version}";
88 version = "0.0.20180514";
99
10− src = fetchzip {
11− url = "https://git.zx2c4.com/WireGuard/snapshot/WireGuard-${version}.tar.xz";
12− sha256 = "15z0s1i8qyq1fpw8j6rky53ffrpp3f49zn1022jwdslk4g0ncaaj";
13− };
10+ inherit (wireguard-tools) src;
1411
1512 preConfigure = ''
1613 cd src