wireguard-go: use postPatch instead of patchPhase
commit3b44015e1a32cca88a3feca1a282733c2d4e79ff
authorKirill Elagin <kirelagin@gmail.com>
dateSat 19 May 2018, 12:42 (9 years ago)
parentb599f67
pkgs/tools/networking/wireguard-go/default.nix+1−1
@@ -13,7 +13,7 @@ buildGoPackage rec {
1313
1414 goDeps = ./deps.nix;
1515
16− patchPhase = ''
16+ postPatch = ''
1717 # Replace local imports so that go tools do not trip on them
1818 find . -name '*.go' -exec sed -i '/import (/,/)/s@"./@"${goPackagePath}/@' {} \;
1919 '';