about summary refs log tree commit diff
path: root/pkgs/tools/admin/pulumi/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/admin/pulumi/default.nix')
-rw-r--r--pkgs/tools/admin/pulumi/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/admin/pulumi/default.nix b/pkgs/tools/admin/pulumi/default.nix
index 9d715ea7edf9..e79000e70217 100644
--- a/pkgs/tools/admin/pulumi/default.nix
+++ b/pkgs/tools/admin/pulumi/default.nix
@@ -74,7 +74,7 @@ buildGoModule rec {
     rm codegen/{docs,dotnet,go,nodejs,python,schema}/*_test.go
     rm -R codegen/{dotnet,go,nodejs,python}/gen_program_test
 
-  '' + lib.optionalString stdenv.isDarwin ''
+  '' + lib.optionalString stdenv.hostPlatform.isDarwin ''
     export PULUMI_HOME=$(mktemp -d)
   '';