mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-15 03:15:56 +03:00
libxkbcommon: set X11 locale directory (close #16340)
This commit is contained in:
parent
61b8d27b4c
commit
429fdbcd63
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, pkgconfig, yacc, flex, xkeyboard_config, libxcb }:
|
||||
{ stdenv, fetchurl, pkgconfig, yacc, flex, xkeyboard_config, libxcb, libX11 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libxkbcommon-0.6.1";
|
||||
@ -12,9 +12,10 @@ stdenv.mkDerivation rec {
|
||||
|
||||
buildInputs = [ pkgconfig yacc flex xkeyboard_config libxcb ];
|
||||
|
||||
configureFlags = ''
|
||||
--with-xkb-config-root=${xkeyboard_config}/etc/X11/xkb
|
||||
'';
|
||||
configureFlags = [
|
||||
"--with-xkb-config-root=${xkeyboard_config}/etc/X11/xkb"
|
||||
"--with-x-locale-root=${libX11.out}/share/X11/locale"
|
||||
];
|
||||
|
||||
preBuild = stdenv.lib.optionalString stdenv.isDarwin ''
|
||||
sed -i 's/,--version-script=.*$//' Makefile
|
||||
|
Loading…
Reference in New Issue
Block a user