mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-05-02 11:17:02 +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
1 changed files with 4 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue