mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
wireguard-go: drop redundant relative import patch
This commit is contained in:
parent
a444dcad03
commit
2391e836f9
1 changed files with 0 additions and 5 deletions
|
@ -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/;
|
||||
|
|
Loading…
Reference in a new issue