about summary refs log tree commit diff
path: root/pkgs/development/compilers/cakelisp/default.nix
diff options
context:
space:
mode:
authorsternenseemann <sternenseemann@systemli.org>2024-09-27 11:41:25 +0200
committersternenseemann <sternenseemann@systemli.org>2024-09-27 11:41:25 +0200
commitb341506a8d18d8d5d47ed4dbb201c8ed04b183d1 (patch)
treeaa477119c53f4d71f3cfceb0f827b92e1c13351b /pkgs/development/compilers/cakelisp/default.nix
parentb6b063bdc265990fb87781682da974578b16443c (diff)
parentfdadb5f0df5d2641c7e4494f4defc31f1e9cb8c0 (diff)
Merge branch master into haskell-updates haskell-updates
Conflicts from #341407 resolved.
Diffstat (limited to 'pkgs/development/compilers/cakelisp/default.nix')
-rw-r--r--pkgs/development/compilers/cakelisp/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/compilers/cakelisp/default.nix b/pkgs/development/compilers/cakelisp/default.nix
index c52c93c5e6c7e..48e3e9efa5fbb 100644
--- a/pkgs/development/compilers/cakelisp/default.nix
+++ b/pkgs/development/compilers/cakelisp/default.nix
@@ -18,7 +18,7 @@ stdenv.mkDerivation {
         --replace '"/usr/bin/g++"' '"${gcc}/bin/g++"'
     substituteInPlace src/ModuleManager.cpp \
         --replace '"/usr/bin/g++"' '"${gcc}/bin/g++"'
-  '' + lib.optionalString stdenv.isDarwin ''
+  '' + lib.optionalString stdenv.hostPlatform.isDarwin ''
     substituteInPlace Build.sh --replace '--export-dynamic' '-export_dynamic'
     substituteInPlace runtime/HotReloading.cake --replace '--export-dynamic' '-export_dynamic'
     substituteInPlace Bootstrap.cake --replace '--export-dynamic' '-export_dynamic'
@@ -50,6 +50,6 @@ stdenv.mkDerivation {
     platforms = platforms.darwin ++ platforms.linux;
     maintainers = [ maintainers.sbond75 ];
     # never built on aarch64-darwin since first introduction in nixpkgs
-    broken = stdenv.isDarwin && stdenv.isAarch64;
+    broken = stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64;
   };
 }