about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDoron Behar <doron.behar@gmail.com>2024-04-30 17:24:18 +0300
committerDoron Behar <doron.behar@gmail.com>2024-04-30 17:31:40 +0300
commitb125bb3c2049517d6aad9f81b75fe6c0d5532576 (patch)
treec2e31c41ec89957dbf35032a7489c970b541e18b
parentd47575c3bf49d4f1b7dfcd1c4d76eef39f7fafc7 (diff)
uhd: improve ENABLE_TESTS cmake flag comment
-rw-r--r--pkgs/applications/radio/uhd/default.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/applications/radio/uhd/default.nix b/pkgs/applications/radio/uhd/default.nix
index 2aba164d3cba6..dca5efb579e11 100644
--- a/pkgs/applications/radio/uhd/default.nix
+++ b/pkgs/applications/radio/uhd/default.nix
@@ -82,7 +82,9 @@ stdenv.mkDerivation (finalAttrs: {
   cmakeFlags = [
     "-DENABLE_LIBUHD=ON"
     "-DENABLE_USB=ON"
-    "-DENABLE_TESTS=ON" # This installs tests as well so we delete them via postPhases
+    # Regardless of doCheck, we want to build the tests to help us gain
+    # confident that the package is OK.
+    "-DENABLE_TESTS=ON"
     (cmakeBool "ENABLE_EXAMPLES" enableExamples)
     (cmakeBool "ENABLE_UTILS" enableUtils)
     (cmakeBool "ENABLE_C_API" enableCApi)