about summary refs log tree commit diff
path: root/pkgs/development/libraries/mesa-glu/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/mesa-glu/default.nix')
-rw-r--r--pkgs/development/libraries/mesa-glu/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/mesa-glu/default.nix b/pkgs/development/libraries/mesa-glu/default.nix
index 138e7f247c13..bbcc0bb99a0e 100644
--- a/pkgs/development/libraries/mesa-glu/default.nix
+++ b/pkgs/development/libraries/mesa-glu/default.nix
@@ -21,7 +21,7 @@ stdenv.mkDerivation (finalAttrs: {
 
   outputs = [ "out" "dev" ];
 
-  mesonFlags = lib.optionals stdenv.isDarwin [
+  mesonFlags = lib.optionals stdenv.hostPlatform.isDarwin [
     "-Dgl_provider=gl" # glvnd is default
   ];