mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-14 09:43:14 +00:00
mesa: fix datadir location
This commit is contained in:
parent
34cf1e9e17
commit
1b3ba289b2
@ -83,9 +83,9 @@ self = stdenv.mkDerivation {
|
|||||||
|
|
||||||
# The drirc.d directory cannot be installed to $drivers as that would cause a cyclic dependency:
|
# The drirc.d directory cannot be installed to $drivers as that would cause a cyclic dependency:
|
||||||
substituteInPlace src/util/xmlconfig.c --replace \
|
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 \
|
substituteInPlace src/util/meson.build --replace \
|
||||||
"get_option('datadir')" "'${placeholder "out"}'"
|
"get_option('datadir')" "'${placeholder "out"}/share'"
|
||||||
'' + lib.optionalString (stdenv.hostPlatform != stdenv.buildPlatform) ''
|
'' + lib.optionalString (stdenv.hostPlatform != stdenv.buildPlatform) ''
|
||||||
substituteInPlace meson.build --replace \
|
substituteInPlace meson.build --replace \
|
||||||
"find_program('nm')" \
|
"find_program('nm')" \
|
||||||
|
Loading…
Reference in New Issue
Block a user