mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-18 13:19:10 +03:00
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;
|
||||
|
||||
patchPhase = ''
|
||||
postPatch = ''
|
||||
# Replace local imports so that go tools do not trip on them
|
||||
find . -name '*.go' -exec sed -i '/import (/,/)/s@"./@"${goPackagePath}/@' {} \;
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user