From fc2d612b1d92a7775eea0926038a2fa48b49d2d7 Mon Sep 17 00:00:00 2001 From: sternenseemann Date: Mon, 22 Sep 2025 02:25:40 +0200 Subject: [PATCH] haskellPackages.serialport: explain why we skip the test suite --- pkgs/development/haskell-modules/configuration-common.nix | 3 --- pkgs/development/haskell-modules/configuration-nix.nix | 4 ++++ 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index bd1e3a1f0b79..900ab20e137d 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -817,9 +817,6 @@ with haskellLib; # Upstream notified by e-mail. permutation = dontCheck super.permutation; - # https://github.com/jputcu/serialport/issues/25 - serialport = dontCheck super.serialport; - # Test suite depends on source code being available simple-affine-space = dontCheck super.simple-affine-space; diff --git a/pkgs/development/haskell-modules/configuration-nix.nix b/pkgs/development/haskell-modules/configuration-nix.nix index 75b9f19b7ec4..dcbbddbf611b 100644 --- a/pkgs/development/haskell-modules/configuration-nix.nix +++ b/pkgs/development/haskell-modules/configuration-nix.nix @@ -286,6 +286,10 @@ builtins.intersectAttrs super { })) ]; + # Test suite requires access to an actual serial port + # https://github.com/jputcu/serialport/issues/25 krank:ignore-line + serialport = dontCheck super.serialport; + # Provides a library and an executable (pretty-derivation) nix-derivation = enableSeparateBinOutput super.nix-derivation;