diff options
author | rnhmjoj <rnhmjoj@inventati.org> | 2023-07-24 21:51:14 +0200 |
---|---|---|
committer | rnhmjoj <rnhmjoj@inventati.org> | 2023-10-29 11:56:15 +0100 |
commit | edb4422d730b57bdab3a1a886b8ec6b84b581020 (patch) | |
tree | 05f9f7d2bb69a03110fa721ca3e6d35946c578bc /pkgs/servers/sslh | |
parent | 71ef7ea8fe2aff7c21cf2e7ec7283a4276a2f366 (diff) |
sslh: install sslh-select binary
Diffstat (limited to 'pkgs/servers/sslh')
-rw-r--r-- | pkgs/servers/sslh/default.nix | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/servers/sslh/default.nix b/pkgs/servers/sslh/default.nix index 6add47454c2f6..25e40294747cc 100644 --- a/pkgs/servers/sslh/default.nix +++ b/pkgs/servers/sslh/default.nix @@ -17,6 +17,13 @@ stdenv.mkDerivation rec { makeFlags = [ "USELIBCAP=1" "USELIBWRAP=1" ]; + postInstall = '' + # install all flavours + install -p sslh-fork "$out/sbin/sslh-fork" + install -p sslh-select "$out/sbin/sslh-select" + ln -sf sslh-fork "$out/sbin/sslh" + ''; + installFlags = [ "PREFIX=$(out)" ]; hardeningDisable = [ "format" ]; |