about summary refs log tree commit diff
path: root/pkgs/development/compilers/codon/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/compilers/codon/default.nix')
-rw-r--r--pkgs/development/compilers/codon/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/compilers/codon/default.nix b/pkgs/development/compilers/codon/default.nix
index 520c6386490b..88d3c01d713a 100644
--- a/pkgs/development/compilers/codon/default.nix
+++ b/pkgs/development/compilers/codon/default.nix
@@ -125,7 +125,7 @@ stdenv.mkDerivation {
     "-DLLVM_USE_LINKER=lld"
   ];
 
-  postInstall = lib.optionalString stdenv.isDarwin ''
+  postInstall = lib.optionalString stdenv.hostPlatform.isDarwin ''
     ln -s $out/lib/codon/*.dylib $out/lib/
   '';