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
This commit is contained in:
parent
c72b4d8cb5
commit
0f65693e6b
@ -17,6 +17,10 @@ buildGoPackage rec {
|
|||||||
|
|
||||||
passthru.updateScript = ./update.sh;
|
passthru.updateScript = ./update.sh;
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
mv $out/bin/wireguard $out/bin/wireguard-go
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Userspace Go implementation of WireGuard";
|
description = "Userspace Go implementation of WireGuard";
|
||||||
homepage = "https://git.zx2c4.com/wireguard-go/about/";
|
homepage = "https://git.zx2c4.com/wireguard-go/about/";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user