summary refs log tree commit diff
path: root/pkgs/development/libraries/glfw
diff options
context:
space:
mode:
authorVladimír Čunát <v@cunat.cz>2020-10-26 08:17:14 +0100
committerVladimír Čunát <v@cunat.cz>2020-10-26 08:19:17 +0100
commit336bc8283bd4ef288e60c5fdb1b67196b9ea5c85 (patch)
tree8812d7fef1d0ed89d4507279511f35e2c050097c /pkgs/development/libraries/glfw
parent309ce3f8a1127a5dff1dcc2512777122d49529d4 (diff)
downloadnixpkgs-336bc8283bd4ef288e60c5fdb1b67196b9ea5c85.tar
nixpkgs-336bc8283bd4ef288e60c5fdb1b67196b9ea5c85.tar.gz
nixpkgs-336bc8283bd4ef288e60c5fdb1b67196b9ea5c85.tar.bz2
nixpkgs-336bc8283bd4ef288e60c5fdb1b67196b9ea5c85.tar.lz
nixpkgs-336bc8283bd4ef288e60c5fdb1b67196b9ea5c85.tar.xz
nixpkgs-336bc8283bd4ef288e60c5fdb1b67196b9ea5c85.tar.zst
nixpkgs-336bc8283bd4ef288e60c5fdb1b67196b9ea5c85.zip
Re-Revert "Merge #101508: libraw: 0.20.0 -> 0.20.2"
This reverts commit c778945806b44d46ec16bc4302e7e7163e6bab97.

I believe this is exactly what brings the staging branch into
the right shape after the last merge from master (through staging-next);
otherwise part of staging changes would be lost
(due to being already reachable from master but reverted).
Diffstat (limited to 'pkgs/development/libraries/glfw')
-rw-r--r--pkgs/development/libraries/glfw/3.x.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/development/libraries/glfw/3.x.nix b/pkgs/development/libraries/glfw/3.x.nix
index 1b9fcb9586b..fbc1cb818ca 100644
--- a/pkgs/development/libraries/glfw/3.x.nix
+++ b/pkgs/development/libraries/glfw/3.x.nix
@@ -18,10 +18,11 @@ stdenv.mkDerivation rec {
 
   propagatedBuildInputs = [ libGL ];
 
-  nativeBuildInputs = [ cmake ];
+  nativeBuildInputs = [ cmake ]
+    ++ lib.optional stdenv.isDarwin fixDarwinDylibNames;
 
   buildInputs = [ libX11 libXrandr libXinerama libXcursor libXi libXext ]
-    ++ lib.optionals stdenv.isDarwin [ Cocoa Kernel fixDarwinDylibNames ];
+    ++ lib.optionals stdenv.isDarwin [ Cocoa Kernel ];
 
   cmakeFlags = [ "-DBUILD_SHARED_LIBS=ON" ];