wireguard-go: fix executable name
It's supposed to be `wireguard-go` instead of `wireguard`. Upstream does
this right in their Makefile, however we use our own build-script which
creates a wrong file in $out, so it has to be fixed in the
`postInstall`-hook.
Closes #88567
commit0f65693e6b63b47c89f5a77cf6b985eb652485a7
authorMaximilian Bosch <maximilian@mbosch.me>
dateFri 22 May 2020, 11:37 (6 years ago)
parentc72b4d8
pkgs/tools/networking/wireguard-go/default.nix+4
@@ -17,6 +17,10 @@ buildGoPackage rec {
1717
1818 passthru.updateScript = ./update.sh;
1919
20+ postInstall = ''
21+ mv $out/bin/wireguard $out/bin/wireguard-go
22+ '';
23+
2024 meta = with stdenv.lib; {
2125 description = "Userspace Go implementation of WireGuard";
2226 homepage = "https://git.zx2c4.com/wireguard-go/about/";