summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorash lea <example@thisismyactual.email>2021-07-23 14:24:41 -0700
committerFrederik Rietdijk <freddyrietdijk@fridh.nl>2021-07-24 15:11:58 +0200
commit1b3ba289b2a03748d0a8b790c82b638b73a7dd01 (patch)
tree47042ed6b779974230006f4ede3c96ccf67a12d1 /pkgs
parent34cf1e9e176b22eb76ae809bb6f4dec8f9fce4d1 (diff)
downloadnixpkgs-1b3ba289b2a03748d0a8b790c82b638b73a7dd01.tar
nixpkgs-1b3ba289b2a03748d0a8b790c82b638b73a7dd01.tar.gz
nixpkgs-1b3ba289b2a03748d0a8b790c82b638b73a7dd01.tar.bz2
nixpkgs-1b3ba289b2a03748d0a8b790c82b638b73a7dd01.tar.lz
nixpkgs-1b3ba289b2a03748d0a8b790c82b638b73a7dd01.tar.xz
nixpkgs-1b3ba289b2a03748d0a8b790c82b638b73a7dd01.tar.zst
nixpkgs-1b3ba289b2a03748d0a8b790c82b638b73a7dd01.zip
mesa: fix datadir location
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/libraries/mesa/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/libraries/mesa/default.nix b/pkgs/development/libraries/mesa/default.nix
index 2790d88387e..a23d02c29e4 100644
--- a/pkgs/development/libraries/mesa/default.nix
+++ b/pkgs/development/libraries/mesa/default.nix
@@ -83,9 +83,9 @@ self = stdenv.mkDerivation {
 
     # The drirc.d directory cannot be installed to $drivers as that would cause a cyclic dependency:
     substituteInPlace src/util/xmlconfig.c --replace \
-      'DATADIR "/drirc.d"' '"${placeholder "out"}/drirc.d"'
+      'DATADIR "/drirc.d"' '"${placeholder "out"}/share/drirc.d"'
     substituteInPlace src/util/meson.build --replace \
-      "get_option('datadir')" "'${placeholder "out"}'"
+      "get_option('datadir')" "'${placeholder "out"}/share'"
   '' + lib.optionalString (stdenv.hostPlatform != stdenv.buildPlatform) ''
     substituteInPlace meson.build --replace \
       "find_program('nm')" \