summary refs log tree commit diff
path: root/pkgs/development/libraries/mesa
diff options
context:
space:
mode:
authorDavid McFarland <corngood@gmail.com>2018-04-20 23:39:08 -0300
committerDavid McFarland <corngood@gmail.com>2018-04-21 11:42:06 -0300
commitee1778de783a4ad24656b6901ad447a979d4061c (patch)
tree882653cf2478778cbbecab8571dfd2aad2a04bc2 /pkgs/development/libraries/mesa
parentcd50540d7c168d3e203bb6dd8184cf72fd99b504 (diff)
downloadnixlib-ee1778de783a4ad24656b6901ad447a979d4061c.tar
nixlib-ee1778de783a4ad24656b6901ad447a979d4061c.tar.gz
nixlib-ee1778de783a4ad24656b6901ad447a979d4061c.tar.bz2
nixlib-ee1778de783a4ad24656b6901ad447a979d4061c.tar.lz
nixlib-ee1778de783a4ad24656b6901ad447a979d4061c.tar.xz
nixlib-ee1778de783a4ad24656b6901ad447a979d4061c.tar.zst
nixlib-ee1778de783a4ad24656b6901ad447a979d4061c.zip
mesa_drivers: fix drirc install path
This will install drirc to the location where mesa expects to find it.

You can test with:

    LIBGL_DEBUG=1 glxgears

An error message will be printed if drirc can't be found.
Diffstat (limited to 'pkgs/development/libraries/mesa')
-rw-r--r--pkgs/development/libraries/mesa/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/mesa/default.nix b/pkgs/development/libraries/mesa/default.nix
index e77a4e1414e9..fae83a95f3ca 100644
--- a/pkgs/development/libraries/mesa/default.nix
+++ b/pkgs/development/libraries/mesa/default.nix
@@ -160,7 +160,7 @@ let self = stdenv.mkDerivation {
   doCheck = false;
 
   installFlags = [
-    "sysconfdir=\${out}/etc"
+    "sysconfdir=\${drivers}/etc"
     "localstatedir=\${TMPDIR}"
     "vendorjsondir=\${out}/share/glvnd/egl_vendor.d"
   ];