diff options
author | Alyssa Ross <hi@alyssa.is> | 2023-01-22 14:58:23 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2023-01-29 13:24:54 +0000 |
commit | 3539dd698870c8054eb487bff62e4cfa8fd41bcf (patch) | |
tree | 15d913ac8021096d1066b6d12650a8b0ad878bb9 /pkgs/tools/networking/socat | |
parent | e7b18c180c0a1760147b60d31d3cf5455869cce9 (diff) |
socat: add musl test
A couple of recent upgrades have broken socat on Musl, so it would be nice to catch these in advance.
Diffstat (limited to 'pkgs/tools/networking/socat')
-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 edd5b0603e6b9..00c0ad7bd131d 100644 --- a/pkgs/tools/networking/socat/default.nix +++ b/pkgs/tools/networking/socat/default.nix @@ -5,6 +5,7 @@ , readline , stdenv , which +, buildPackages }: stdenv.mkDerivation rec { @@ -30,6 +31,10 @@ stdenv.mkDerivation rec { nativeCheckInputs = [ which nettools ]; doCheck = false; # fails a bunch, hangs + passthru.tests = lib.optionalAttrs stdenv.buildPlatform.isLinux { + musl = buildPackages.pkgsMusl.socat; + }; + meta = with lib; { description = "Utility for bidirectional data transfer between two independent data channels"; homepage = "http://www.dest-unreach.org/socat/"; |