ibus-table: fix FHS path default in tabcreatedb.py

It uses /usr/share as a default parameter, which errors out on NixOS.
This replaces it with the path to the derivation.
This commit is contained in:
Kevin Liu
2018-11-16 15:54:57 -05:00
parent e81b1a06be
commit 95dee0d721
@@ -26,6 +26,7 @@ stdenv.mkDerivation rec {
-e "/export IBUS_DATAROOTDIR=/ s/^.$//" \
-e "/export IBUS_LOCALEDIR=/ s/^.$//" \
-i "setup/ibus-setup-table.in"
substituteInPlace engine/tabcreatedb.py --replace '/usr/share/ibus-table' $out/share/ibus-table
'';
buildInputs = [