summary refs log tree commit diff
path: root/pkgs/tools/networking/openssh
diff options
context:
space:
mode:
authorRyan Burns <rtburns@protonmail.com>2021-12-30 16:03:05 -0800
committerRyan Burns <rtburns@protonmail.com>2021-12-30 16:03:05 -0800
commitff07c87167672e58b8a6dc2872628f5450e05338 (patch)
tree3bf22d08fc63a6dc69b79229c5bd676dd4e36b19 /pkgs/tools/networking/openssh
parentee5f17bf0bf6f6493e8334f4f10d0ab0386729ab (diff)
downloadnixpkgs-ff07c87167672e58b8a6dc2872628f5450e05338.tar
nixpkgs-ff07c87167672e58b8a6dc2872628f5450e05338.tar.gz
nixpkgs-ff07c87167672e58b8a6dc2872628f5450e05338.tar.bz2
nixpkgs-ff07c87167672e58b8a6dc2872628f5450e05338.tar.lz
nixpkgs-ff07c87167672e58b8a6dc2872628f5450e05338.tar.xz
nixpkgs-ff07c87167672e58b8a6dc2872628f5450e05338.tar.zst
nixpkgs-ff07c87167672e58b8a6dc2872628f5450e05338.zip
openssh: disable t-exec tests on musl
These tests fail on musl, as encountered by Alpine:
https://github.com/alpinelinux/aports/blob/04d4e07ad8bd54fe49fe32c117c47d91f31ae937/main/openssh/APKBUILD#L132

We can exclude this test category for now, similarly to darwin.
Diffstat (limited to 'pkgs/tools/networking/openssh')
-rw-r--r--pkgs/tools/networking/openssh/common.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/tools/networking/openssh/common.nix b/pkgs/tools/networking/openssh/common.nix
index 9d5e89980fe..ee8d2a92697 100644
--- a/pkgs/tools/networking/openssh/common.nix
+++ b/pkgs/tools/networking/openssh/common.nix
@@ -151,7 +151,8 @@ stdenv.mkDerivation rec {
   '';
   # integration tests hard to get working on darwin with its shaky
   # sandbox
-  checkTarget = optional (!stdenv.isDarwin) "t-exec"
+  # t-exec tests fail on musl
+  checkTarget = optional (!stdenv.isDarwin && !stdenv.hostPlatform.isMusl) "t-exec"
     # other tests are less demanding of the environment
     ++ [ "unit" "file-tests" "interop-tests" ];