wireguard-go: use postPatch instead of patchPhase

This commit is contained in:
Kirill Elagin 2018-05-19 12:42:13 +03:00
parent b599f672e4
commit 3b44015e1a
No known key found for this signature in database
GPG Key ID: 11A364922849AD28

View File

@ -13,7 +13,7 @@ buildGoPackage rec {
goDeps = ./deps.nix;
patchPhase = ''
postPatch = ''
# Replace local imports so that go tools do not trip on them
find . -name '*.go' -exec sed -i '/import (/,/)/s@"./@"${goPackagePath}/@' {} \;
'';