scion: rename binaries

These are the names of the binaries as they are distributed in some
places. Upstream systemd services even depend upon these names, it is
going to be helpful to keep this naming consistent, for bootstrapping
This commit is contained in:
matthewcroughan 2024-03-24 21:04:12 +00:00
parent 99e488e2df
commit 716f10c176
1 changed files with 10 additions and 0 deletions

View File

@ -42,6 +42,16 @@ buildGoModule {
${skipTest 1 "TestOpensslCompatible" "scion-pki/trcs/sign_test.go"}
'';
postInstall = ''
set +e
mv $out/bin/gateway $out/bin/scion-ip-gateway
mv $out/bin/dispatcher $out/bin/scion-dispatcher
mv $out/bin/router $out/bin/scion-router
mv $out/bin/control $out/bin/scion-control
mv $out/bin/daemon $out/bin/scion-daemon
set -e
'';
doCheck = true;
patches = [