diff --git a/pkgs/tools/networking/stunnel/default.nix b/pkgs/tools/networking/stunnel/default.nix index 4bbcb7beacd1..e00b5335d35e 100644 --- a/pkgs/tools/networking/stunnel/default.nix +++ b/pkgs/tools/networking/stunnel/default.nix @@ -18,6 +18,11 @@ stdenv.mkDerivation rec { "--localstatedir=/var" ]; + postInstall = '' + # remove legacy compatibility-wrapper that would require perl + rm $out/bin/stunnel3 + ''; + installFlags = [ "sysconfdir=\${out}/etc" "localstatedir=\${TMPDIR}"