about summary refs log tree commit diff
path: root/pkgs/development/libraries/check/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/check/default.nix')
-rw-r--r--pkgs/development/libraries/check/default.nix18
1 files changed, 9 insertions, 9 deletions
diff --git a/pkgs/development/libraries/check/default.nix b/pkgs/development/libraries/check/default.nix
index 14b4e549264b..82aca7c4ec01 100644
--- a/pkgs/development/libraries/check/default.nix
+++ b/pkgs/development/libraries/check/default.nix
@@ -17,19 +17,19 @@ stdenv.mkDerivation rec {
   # Test can randomly fail: https://hydra.nixos.org/build/7243912
   doCheck = false;
 
-  buildInputs = lib.optional stdenv.isDarwin CoreServices;
+  buildInputs = lib.optional stdenv.hostPlatform.isDarwin CoreServices;
 
   meta = with lib; {
     description = "Unit testing framework for C";
 
-    longDescription =
-      '' Check is a unit testing framework for C.  It features a simple
-         interface for defining unit tests, putting little in the way of the
-         developer.  Tests are run in a separate address space, so Check can
-         catch both assertion failures and code errors that cause
-         segmentation faults or other signals.  The output from unit tests
-         can be used within source code editors and IDEs.
-      '';
+    longDescription = ''
+      Check is a unit testing framework for C.  It features a simple
+      interface for defining unit tests, putting little in the way of the
+      developer.  Tests are run in a separate address space, so Check can
+      catch both assertion failures and code errors that cause
+      segmentation faults or other signals.  The output from unit tests
+      can be used within source code editors and IDEs.
+    '';
 
     homepage = "https://libcheck.github.io/check/";