about summary refs log tree commit diff
path: root/pkgs/development/libraries/gjs/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/gjs/default.nix')
-rw-r--r--pkgs/development/libraries/gjs/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/development/libraries/gjs/default.nix b/pkgs/development/libraries/gjs/default.nix
index 604435cee510..99fb182bc88d 100644
--- a/pkgs/development/libraries/gjs/default.nix
+++ b/pkgs/development/libraries/gjs/default.nix
@@ -83,11 +83,11 @@ in stdenv.mkDerivation (finalAttrs: {
 
   mesonFlags = [
     "-Dinstalled_test_prefix=${placeholder "installedTests"}"
-  ] ++ lib.optionals (!stdenv.isLinux || stdenv.hostPlatform.isMusl) [
+  ] ++ lib.optionals (!stdenv.hostPlatform.isLinux || stdenv.hostPlatform.isMusl) [
     "-Dprofiler=disabled"
   ];
 
-  doCheck = !stdenv.isDarwin;
+  doCheck = !stdenv.hostPlatform.isDarwin;
 
   postPatch = ''
     patchShebangs build/choose-tests-locale.sh
@@ -130,7 +130,7 @@ in stdenv.mkDerivation (finalAttrs: {
     runHook postCheck
   '';
 
-  separateDebugInfo = stdenv.isLinux;
+  separateDebugInfo = stdenv.hostPlatform.isLinux;
 
   passthru = {
     tests = {