pkgsMusl.socat: fix build

Fix via Alpine.
This commit is contained in:
Alyssa Ross 2022-02-16 20:50:36 +00:00
parent 24278c45af
commit 7ecf7a3493

View file

@ -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" ];