about summary refs log tree commit diff
path: root/pkgs/development/ada-modules/gprbuild/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/ada-modules/gprbuild/default.nix')
-rw-r--r--pkgs/development/ada-modules/gprbuild/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/ada-modules/gprbuild/default.nix b/pkgs/development/ada-modules/gprbuild/default.nix
index f1cf28f00af3..3965789d742e 100644
--- a/pkgs/development/ada-modules/gprbuild/default.nix
+++ b/pkgs/development/ada-modules/gprbuild/default.nix
@@ -39,7 +39,7 @@ stdenv.mkDerivation {
     "LIBRARY_TYPE=relocatable"
   ];
 
-  env = lib.optionalAttrs stdenv.isDarwin {
+  env = lib.optionalAttrs stdenv.hostPlatform.isDarwin {
     # Ensure that there is enough space for the `fixDarwinDylibNames` hook to
     # update the install names of the output dylibs.
     NIX_LDFLAGS = "-headerpad_max_install_names";