Skip to content

Commit

Permalink
mesa: set sysconfdir to /run/opengl-driver/etc
Browse files Browse the repository at this point in the history
This allows drirc to be found.
  • Loading branch information
corngood committed Jan 8, 2018
1 parent b30dbbc commit af32623
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkgs/development/libraries/mesa/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ stdenv.mkDerivation {

# TODO: Figure out how to enable opencl without having a runtime dependency on clang
configureFlags = [
"--sysconfdir=/etc"
"--sysconfdir=${driverLink}/etc"
"--localstatedir=/var"
"--with-dri-driverdir=$(drivers)/lib/dri"
"--with-dri-searchpath=${driverLink}/lib/dri"
Expand Down Expand Up @@ -197,7 +197,6 @@ stdenv.mkDerivation {
'';

# TODO:
# @vcunat isn't sure if drirc will be found when in $out/etc/;
# check $out doesn't depend on llvm: builder failures are ignored
# for some reason grep -qv '${llvmPackages.llvm}' -R "$out";
postFixup = ''
Expand Down

0 comments on commit af32623

Please sign in to comment.