about summary refs log tree commit diff
path: root/pkgs/development/compilers/chez/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/compilers/chez/default.nix')
-rw-r--r--pkgs/development/compilers/chez/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/compilers/chez/default.nix b/pkgs/development/compilers/chez/default.nix
index 9002db42abc2..de998e550b41 100644
--- a/pkgs/development/compilers/chez/default.nix
+++ b/pkgs/development/compilers/chez/default.nix
@@ -13,9 +13,9 @@ stdenv.mkDerivation (finalAttrs: {
     hash = "sha256-03GZASte0ZhcQGnWqH/xjl4fWi3yfkApkfr0XcTyIyw=";
   };
 
-  nativeBuildInputs = lib.optionals stdenv.isDarwin [
+  nativeBuildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
     cctools
-  ] ++ lib.optionals (stdenv.isDarwin && stdenv.isAarch64) [
+  ] ++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) [
     darwin.autoSignDarwinBinariesHook
   ];
   buildInputs = [ ncurses libiconv libX11 libuuid ];