summary refs log tree commit diff
path: root/pkgs/development/libraries/mesa-glu
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2019-06-04 22:23:05 -0400
committerMatthew Bauer <mjbauer95@gmail.com>2019-06-04 23:14:59 -0400
commit894644c8e8f4e810a6adf450273c3bfb8f223cfa (patch)
tree2d33ffc86cf44ea143522eea6569eb94a931d108 /pkgs/development/libraries/mesa-glu
parent0121da2af1220a059732f00606d778339caf3e6b (diff)
downloadnixpkgs-894644c8e8f4e810a6adf450273c3bfb8f223cfa.tar
nixpkgs-894644c8e8f4e810a6adf450273c3bfb8f223cfa.tar.gz
nixpkgs-894644c8e8f4e810a6adf450273c3bfb8f223cfa.tar.bz2
nixpkgs-894644c8e8f4e810a6adf450273c3bfb8f223cfa.tar.lz
nixpkgs-894644c8e8f4e810a6adf450273c3bfb8f223cfa.tar.xz
nixpkgs-894644c8e8f4e810a6adf450273c3bfb8f223cfa.tar.zst
nixpkgs-894644c8e8f4e810a6adf450273c3bfb8f223cfa.zip
mesa-glu: add macOS frameworks
- glu needs ApplicationServices
Diffstat (limited to 'pkgs/development/libraries/mesa-glu')
-rw-r--r--pkgs/development/libraries/mesa-glu/default.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/development/libraries/mesa-glu/default.nix b/pkgs/development/libraries/mesa-glu/default.nix
index cb238a6a5ae..94622b8a8f9 100644
--- a/pkgs/development/libraries/mesa-glu/default.nix
+++ b/pkgs/development/libraries/mesa-glu/default.nix
@@ -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" ];