diff options
author | Yureka <yuka@yuka.dev> | 2023-05-10 14:27:35 +0200 |
---|---|---|
committer | Yureka <yuka@yuka.dev> | 2023-06-27 22:21:04 +0200 |
commit | e705bd923b5107e6288302fe6e1ca26bf700388b (patch) | |
tree | 724f1e59088497807cca21c5aea26f9a35e07732 /pkgs/servers/fastnetmon-advanced | |
parent | 73710c4a5bf602ee53ad9f78b1c5bb8a9a07eaaf (diff) |
fastnetmon-advanced: link gobgp binaries to /bin
Diffstat (limited to 'pkgs/servers/fastnetmon-advanced')
-rw-r--r-- | pkgs/servers/fastnetmon-advanced/default.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/servers/fastnetmon-advanced/default.nix b/pkgs/servers/fastnetmon-advanced/default.nix index 53c1ef11e25cc..2907d890a136c 100644 --- a/pkgs/servers/fastnetmon-advanced/default.nix +++ b/pkgs/servers/fastnetmon-advanced/default.nix @@ -40,6 +40,9 @@ stdenv.mkDerivation rec { cp -r opt/fastnetmon/app/bin $out/bin cp -r opt/fastnetmon/libraries $out/libexec/fastnetmon + ln -s $out/libexec/fastnetmon/libraries/gobgp_2_27_0/gobgpd $out/bin/fnm-gobgpd + ln -s $out/libexec/fastnetmon/libraries/gobgp_2_27_0/gobgp $out/bin/fnm-gobgp + addAutoPatchelfSearchPath $out/libexec/fastnetmon/libraries ''; @@ -48,6 +51,8 @@ stdenv.mkDerivation rec { set +o pipefail $out/bin/fastnetmon 2>&1 | grep "Can't open log file" $out/bin/fcli 2>&1 | grep "Please run this tool with root rights" + $out/bin/fnm-gobgp --help 2>&1 | grep "Available Commands" + $out/bin/fnm-gobgpd --help 2>&1 | grep "Application Options" ''; meta = with lib; { |