mesa-glu: add macOS frameworks

- glu needs ApplicationServices
This commit is contained in:
Matthew Bauer 2019-06-04 22:23:05 -04:00
parent 0121da2af1
commit 894644c8e8
2 changed files with 6 additions and 3 deletions

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkgconfig, libGL }:
{ stdenv, fetchurl, pkgconfig, libGL, ApplicationServices }:
stdenv.mkDerivation rec {
name = "glu-${version}";
@ -13,7 +13,8 @@ stdenv.mkDerivation rec {
'';
nativeBuildInputs = [ pkgconfig ];
propagatedBuildInputs = [ libGL ];
propagatedBuildInputs = [ libGL ]
++ stdenv.lib.optional stdenv.isDarwin ApplicationServices;
outputs = [ "out" "dev" ];

View File

@ -12209,7 +12209,9 @@ in
};
mesa = mesa_noglu;
mesa_glu = callPackage ../development/libraries/mesa-glu { };
mesa_glu = callPackage ../development/libraries/mesa-glu {
inherit (darwin.apple_sdk.frameworks) ApplicationServices;
};
# NOTE: 2018-07-12: legacy alias:
# gcsecurity bussiness is done: https://www.theregister.co.uk/2018/02/08/bruce_perens_grsecurity_anti_slapp/