mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 07:00:43 +00:00
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;
|
||||
|
||||
postInstall = ''
|
||||
mv $out/bin/wireguard $out/bin/wireguard-go
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Userspace Go implementation of WireGuard";
|
||||
homepage = "https://git.zx2c4.com/wireguard-go/about/";
|
||||
|
|
Loading…
Reference in a new issue