about summary refs log tree commit diff
path: root/pkgs/development/compilers/idris2/idris2.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/compilers/idris2/idris2.nix')
-rw-r--r--pkgs/development/compilers/idris2/idris2.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/compilers/idris2/idris2.nix b/pkgs/development/compilers/idris2/idris2.nix
index 2d5ec9a28368..6f39eea61868 100644
--- a/pkgs/development/compilers/idris2/idris2.nix
+++ b/pkgs/development/compilers/idris2/idris2.nix
@@ -40,7 +40,7 @@ stdenv.mkDerivation rec {
     makeWrapper
     clang
     platformChez
-  ] ++ lib.optionals stdenv.isDarwin [ zsh ];
+  ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ zsh ];
   buildInputs = [
     platformChez
     gmp
@@ -50,7 +50,7 @@ stdenv.mkDerivation rec {
     patchShebangs --build tests
   '';
 
-  makeFlags = [ "PREFIX=$(out)" ] ++ lib.optional stdenv.isDarwin "OS=";
+  makeFlags = [ "PREFIX=$(out)" ] ++ lib.optional stdenv.hostPlatform.isDarwin "OS=";
 
   # The name of the main executable of pkgs.chez is `scheme`
   buildFlags = [