summary refs log tree commit diff
path: root/pkgs/development/libraries/glfw
diff options
context:
space:
mode:
authorAnthony Cowley <acowley@gmail.com>2017-04-28 21:34:43 -0400
committerAnthony Cowley <acowley@gmail.com>2017-05-01 11:40:06 -0400
commitde3c1f0dc936fc6b4dea55551f0a13f15c3e1618 (patch)
tree22f2a499f9acd5c90436f93a668dd819165d0d63 /pkgs/development/libraries/glfw
parentce6eb0cbbe5398329a490b54dc2d259d9d48007b (diff)
downloadnixpkgs-de3c1f0dc936fc6b4dea55551f0a13f15c3e1618.tar
nixpkgs-de3c1f0dc936fc6b4dea55551f0a13f15c3e1618.tar.gz
nixpkgs-de3c1f0dc936fc6b4dea55551f0a13f15c3e1618.tar.bz2
nixpkgs-de3c1f0dc936fc6b4dea55551f0a13f15c3e1618.tar.lz
nixpkgs-de3c1f0dc936fc6b4dea55551f0a13f15c3e1618.tar.xz
nixpkgs-de3c1f0dc936fc6b4dea55551f0a13f15c3e1618.tar.zst
nixpkgs-de3c1f0dc936fc6b4dea55551f0a13f15c3e1618.zip
glfw: fix the install name id on darwin
Also change platforms to ‘unix‘.
Diffstat (limited to 'pkgs/development/libraries/glfw')
-rw-r--r--pkgs/development/libraries/glfw/3.x.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/development/libraries/glfw/3.x.nix b/pkgs/development/libraries/glfw/3.x.nix
index 1500718c737..ec3c2f5569d 100644
--- a/pkgs/development/libraries/glfw/3.x.nix
+++ b/pkgs/development/libraries/glfw/3.x.nix
@@ -1,6 +1,6 @@
 { stdenv, fetchFromGitHub, cmake, mesa, libXrandr, libXi, libXxf86vm, libXfixes, xlibsWrapper
 , libXinerama, libXcursor
-, darwin
+, darwin, fixDarwinDylibNames
 }:
 
 stdenv.mkDerivation rec {
@@ -19,15 +19,15 @@ stdenv.mkDerivation rec {
   buildInputs = [
     cmake mesa libXrandr libXi libXxf86vm libXfixes xlibsWrapper
     libXinerama libXcursor
-  ] ++ stdenv.lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ Cocoa Kernel ]);
+  ] ++ stdenv.lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ Cocoa Kernel fixDarwinDylibNames ]);
 
   cmakeFlags = "-DBUILD_SHARED_LIBS=ON";
 
-  meta = with stdenv.lib; { 
+  meta = with stdenv.lib; {
     description = "Multi-platform library for creating OpenGL contexts and managing input, including keyboard, mouse, joystick and time";
     homepage = "http://www.glfw.org/";
     license = licenses.zlib;
     maintainers = with maintainers; [ marcweber ];
-    platforms = platforms.linux;
+    platforms = platforms.unix;
   };
 }