xxkb: explicitly set LIBDIR and CONFDIR

In preparation to fix long-standing `imake` bug #135337 we need
to set `LIBDIR` and `CONFDIR` away from incorrectly embedded
`xorg-cf-files`. Before #135337 the package worked by chance.

Issue: https://github.com/NixOS/nixpkgs/issues/135337
This commit is contained in:
Sergei Trofimovich 2021-08-24 21:46:29 +01:00
parent 1e3518a1db
commit 1333bd9ac0

View File

@ -24,7 +24,9 @@ stdenv.mkDerivation rec {
makeFlags = [
"BINDIR=${placeholder "out"}/bin"
"CONFDIR=${placeholder "out"}/etc/X11"
"PIXMAPDIR=${placeholder "out"}/share/xxkb"
"LIBDIR=${placeholder "out"}/lib/X11"
"XAPPLOADDIR=${placeholder "out"}/etc/X11/app-defaults"
"MANDIR=${placeholder "man"}/share/man"
];