1
0
Fork 1
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:
Maximilian Bosch 2020-05-22 11:37:54 +02:00
parent c72b4d8cb5
commit 0f65693e6b
No known key found for this signature in database
GPG key ID: 091DBF4D1FC46B8E

View file

@ -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/";