wireguard-go: use postPatch instead of patchPhase
This commit is contained in:
parent
b599f672e4
commit
3b44015e1a
@ -13,7 +13,7 @@ buildGoPackage rec {
|
|||||||
|
|
||||||
goDeps = ./deps.nix;
|
goDeps = ./deps.nix;
|
||||||
|
|
||||||
patchPhase = ''
|
postPatch = ''
|
||||||
# Replace local imports so that go tools do not trip on them
|
# Replace local imports so that go tools do not trip on them
|
||||||
find . -name '*.go' -exec sed -i '/import (/,/)/s@"./@"${goPackagePath}/@' {} \;
|
find . -name '*.go' -exec sed -i '/import (/,/)/s@"./@"${goPackagePath}/@' {} \;
|
||||||
'';
|
'';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user