about summary refs log tree commit diff
path: root/pkgs/by-name/bo/boehmgc/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/bo/boehmgc/package.nix')
-rw-r--r--pkgs/by-name/bo/boehmgc/package.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/by-name/bo/boehmgc/package.nix b/pkgs/by-name/bo/boehmgc/package.nix
index 4a5418a3206b..1c46aea7f9ca 100644
--- a/pkgs/by-name/bo/boehmgc/package.nix
+++ b/pkgs/by-name/bo/boehmgc/package.nix
@@ -21,7 +21,7 @@ stdenv.mkDerivation (finalAttrs: {
   };
 
   outputs = [ "out" "dev" "doc" ];
-  separateDebugInfo = stdenv.isLinux && stdenv.hostPlatform.libc != "musl";
+  separateDebugInfo = stdenv.hostPlatform.isLinux && stdenv.hostPlatform.libc != "musl";
 
   nativeBuildInputs = [
     autoreconfHook
@@ -52,7 +52,7 @@ stdenv.mkDerivation (finalAttrs: {
 
   # `gctest` fails under x86_64 emulation on aarch64-darwin
   # and also on aarch64-linux (qemu-user)
-  doCheck = !((stdenv.isDarwin && stdenv.isx86_64) || (stdenv.isLinux && stdenv.isAarch64));
+  doCheck = !((stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) || (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64));
 
   enableParallelBuilding = true;