about summary refs log tree commit diff
path: root/pkgs/development/libraries/libglvnd
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2019-02-24 04:12:39 -0500
committerMatthew Bauer <mjbauer95@gmail.com>2019-02-24 04:12:39 -0500
commitfb5bd7256dee9b6d5b2a5e28a2d139e458e11783 (patch)
treeeb4b19d2c48ef644afaaec1fa22cfdf0ce60b117 /pkgs/development/libraries/libglvnd
parentad2585e35015c097a61ee30c7109613249dbff76 (diff)
downloadnixlib-fb5bd7256dee9b6d5b2a5e28a2d139e458e11783.tar
nixlib-fb5bd7256dee9b6d5b2a5e28a2d139e458e11783.tar.gz
nixlib-fb5bd7256dee9b6d5b2a5e28a2d139e458e11783.tar.bz2
nixlib-fb5bd7256dee9b6d5b2a5e28a2d139e458e11783.tar.lz
nixlib-fb5bd7256dee9b6d5b2a5e28a2d139e458e11783.tar.xz
nixlib-fb5bd7256dee9b6d5b2a5e28a2d139e458e11783.tar.zst
nixlib-fb5bd7256dee9b6d5b2a5e28a2d139e458e11783.zip
libglvnd: fix darwin
Unfortunately this had been broken for a while and i just realized it
was broken. This adds a patch from upstream that fixes the
issue (missing _u_execmem symbol).
Diffstat (limited to 'pkgs/development/libraries/libglvnd')
-rw-r--r--pkgs/development/libraries/libglvnd/default.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/development/libraries/libglvnd/default.nix b/pkgs/development/libraries/libglvnd/default.nix
index 15efdd4fd4e4..c7b76497fa8c 100644
--- a/pkgs/development/libraries/libglvnd/default.nix
+++ b/pkgs/development/libraries/libglvnd/default.nix
@@ -38,7 +38,11 @@ in stdenv.mkDerivation rec {
       url = "https://github.com/NVIDIA/libglvnd/commit/0177ade40262e31a80608a8e8e52d3da7163dccf.patch";
       sha256 = "1rnz5jw2gvx4i1lcp0k85jz9xgr3dgzsd583m2dlxkaf2a09j89d";
     })
-  ];
+  ] ++ stdenv.lib.optional stdenv.isDarwin
+    (fetchpatch {
+      url = "https://github.com/NVIDIA/libglvnd/commit/294ccb2f49107432567e116e13efac586580a4cc.patch";
+      sha256 = "01339wg27cypv93221rhk3885vxbsg8kvbfyia77jmjdcnwrdwm2";
+    });
   outputs = [ "out" "dev" ];
 
   passthru = { inherit driverLink; };