wireguard-go: drop redundant relative import patch

This commit is contained in:
Yegor Timoshenko 2018-06-11 01:23:05 +00:00
parent a444dcad03
commit 2391e836f9

View file

@ -13,11 +13,6 @@ buildGoPackage rec {
goDeps = ./deps.nix;
postPatch = ''
# Replace local imports so that go tools do not trip on them
find . -name '*.go' -exec sed -i '/import (/,/)/s@"./@"${goPackagePath}/@' {} \;
'';
meta = with stdenv.lib; {
description = "Userspace Go implementation of WireGuard";
homepage = https://git.zx2c4.com/wireguard-go/about/;