a0072b4d2d
HipChat (or rather its copy of Qt) expects to find keyboard data in /usr/share/X11/xkb. So use a LD_PRELOAD library to intercept and rewrite the Glibc calls that access those paths. We've been doing the same thing with packages like Spotify, but now this functionality has been abstracted into a reusable library, libredirect.so. It uses an environment variable $NIX_REDIRECTS containing a colon-separated list of path prefixes to be rewritten, e.g. "/foo=bar:/xyzzy=/fnord". |
||
---|---|---|
.. | ||
build-fhs-chrootenv | ||
buildenv | ||
builder-defs | ||
cabal | ||
clang-wrapper | ||
dotnetenv | ||
fetchbower | ||
fetchbzr | ||
fetchcvs | ||
fetchdarcs | ||
fetchfile | ||
fetchgit | ||
fetchgitrevision | ||
fetchhg | ||
fetchmtn | ||
fetchpatch | ||
fetchsvn | ||
fetchsvnrevision | ||
fetchsvnssh | ||
fetchurl | ||
fetchzip | ||
gcc-cross-wrapper | ||
gcc-wrapper | ||
grsecurity | ||
kdewrapper | ||
kernel | ||
libredirect | ||
make-desktopitem | ||
make-startupitem | ||
make-symlinks | ||
mono-dll-fixer | ||
native-darwin-cctools-wrapper | ||
nuke-references | ||
release | ||
setup-hooks | ||
src-only | ||
substitute | ||
upstream-updater | ||
vm | ||
vsenv | ||
build-pecl.nix | ||
replace-dependency.nix | ||
source-from-head-fun.nix | ||
trivial-builders.nix |