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-10-06 21:07:29 -04:00
parent e81b1a06be
commit 95dee0d721
No known key found for this signature in database
GPG key ID: 5A824102DFE3DD86

View file

@ -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 = [