diff options
author | Alyssa Ross <hi@alyssa.is> | 2022-02-16 20:50:36 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2022-03-03 13:57:21 +0000 |
commit | 7ecf7a3493c60f1c1f853f0393551447aa16a437 (patch) | |
tree | e0dccdb1dace222d0336051e456ae20dcf0ea1ed | |
parent | 24278c45af69273a1cedd3e713bd4cff8a27a3af (diff) |
pkgsMusl.socat: fix build
Fix via Alpine.
-rw-r--r-- | pkgs/tools/networking/socat/default.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/tools/networking/socat/default.nix b/pkgs/tools/networking/socat/default.nix index c52bdb0802d1a..255455811a65e 100644 --- a/pkgs/tools/networking/socat/default.nix +++ b/pkgs/tools/networking/socat/default.nix @@ -23,6 +23,11 @@ stdenv.mkDerivation rec { --replace /sbin/ifconfig ifconfig ''; + configureFlags = lib.optionals stdenv.hostPlatform.isMusl [ + # musl doesn't have getprotobynumber_r + "sc_cv_getprotobynumber_r=2" + ]; + buildInputs = [ openssl readline ]; hardeningEnable = [ "pie" ]; |