summary refs log tree commit diff
path: root/pkgs/development/libraries/vulkan-loader
diff options
context:
space:
mode:
authorAmbroz Bizjak <abizjak.pro@gmail.com>2019-06-08 20:56:13 +0200
committerNikolay Amiantov <ab@fmap.me>2019-08-18 21:29:42 +0300
commit1bba961e2a1b143faa5589047f07df559178d4a8 (patch)
treecd820874ac40c2d3c711ae0b12d2c7cea832eed9 /pkgs/development/libraries/vulkan-loader
parentebe711a12ffce966f6aebab91494d06dbde58f53 (diff)
downloadnixpkgs-1bba961e2a1b143faa5589047f07df559178d4a8.tar
nixpkgs-1bba961e2a1b143faa5589047f07df559178d4a8.tar.gz
nixpkgs-1bba961e2a1b143faa5589047f07df559178d4a8.tar.bz2
nixpkgs-1bba961e2a1b143faa5589047f07df559178d4a8.tar.lz
nixpkgs-1bba961e2a1b143faa5589047f07df559178d4a8.tar.xz
nixpkgs-1bba961e2a1b143faa5589047f07df559178d4a8.tar.zst
nixpkgs-1bba961e2a1b143faa5589047f07df559178d4a8.zip
libglvnd, ocl-icd, vulkan-loader: Remove addOpenGLRunpath where not needed.
For APIs that use driver config files, the config files should point to libraries using absolute paths, so `RUNPATH` should be unnecessary. It is still needed for `libGLX` because that does not use config files but the dispatch library receives just a vendor name from the X server.
Diffstat (limited to 'pkgs/development/libraries/vulkan-loader')
-rw-r--r--pkgs/development/libraries/vulkan-loader/default.nix8
1 files changed, 1 insertions, 7 deletions
diff --git a/pkgs/development/libraries/vulkan-loader/default.nix b/pkgs/development/libraries/vulkan-loader/default.nix
index d8b94c40c7e..95d420627c7 100644
--- a/pkgs/development/libraries/vulkan-loader/default.nix
+++ b/pkgs/development/libraries/vulkan-loader/default.nix
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
     sha256 = "0zhrwj1gi90x2w8gaaaw5h4b969a8gfy244kn0drrplhhb1nqz3b";
   };
 
-  nativeBuildInputs = [ pkgconfig addOpenGLRunpath ];
+  nativeBuildInputs = [ pkgconfig ];
   buildInputs = [ cmake python3 xlibsWrapper libxcb libXrandr libXext wayland ];
   enableParallelBuilding = true;
 
@@ -30,12 +30,6 @@ stdenv.mkDerivation rec {
 
   outputs = [ "out" "dev" ];
 
-  # Set RUNPATH so that driver libraries in /run/opengl-driver(-32)/lib can be found.
-  # See the explanation in addOpenGLRunpath.
-  postFixup = ''
-    addOpenGLRunpath $out/lib/libvulkan.so
-  '';
-
   meta = with stdenv.lib; {
     description = "LunarG Vulkan loader";
     homepage    = https://www.lunarg.com;