diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 8b81e6ee42d7..40022cc534f9 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -5674,9 +5674,12 @@ let grsecEnabled = true; }); mesa_glu = mesaDarwinOr (callPackage ../development/libraries/mesa-glu { }); - mesa_drivers = let - mo = mesa_noglu.override { grsecEnabled = config.grsecurity or false; }; - in mo.drivers; + mesa_drivers = mesaDarwinOr ( + let mo = mesa_noglu.override { + grsecEnabled = config.grsecurity or false; + }; + in mo.drivers + ); mesa = mesaDarwinOr (buildEnv { name = "mesa-${mesa_noglu.version}"; paths = [ mesa_noglu mesa_glu ];