wireguard-go: drop redundant relative import patch
This commit is contained in:
parent
a444dcad03
commit
2391e836f9
@ -13,11 +13,6 @@ buildGoPackage rec {
|
|||||||
|
|
||||||
goDeps = ./deps.nix;
|
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; {
|
meta = with stdenv.lib; {
|
||||||
description = "Userspace Go implementation of WireGuard";
|
description = "Userspace Go implementation of WireGuard";
|
||||||
homepage = https://git.zx2c4.com/wireguard-go/about/;
|
homepage = https://git.zx2c4.com/wireguard-go/about/;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user