diff options
author | Kevin Liu <kevin@potatofrom.space> | 2018-10-06 21:07:29 -0400 |
---|---|---|
committer | Kevin Liu <kevin@potatofrom.space> | 2018-11-16 15:54:57 -0500 |
commit | 95dee0d721cdc1869a1eb57680851da07a6cdd56 (patch) | |
tree | a7bc514934f422b9a7d18c5d3372105c9de04fb5 /pkgs/tools/inputmethods/ibus-engines | |
parent | e81b1a06beb95d3bbb0496bfe882aa93a2f84d45 (diff) | |
download | nixpkgs-95dee0d721cdc1869a1eb57680851da07a6cdd56.tar nixpkgs-95dee0d721cdc1869a1eb57680851da07a6cdd56.tar.gz nixpkgs-95dee0d721cdc1869a1eb57680851da07a6cdd56.tar.bz2 nixpkgs-95dee0d721cdc1869a1eb57680851da07a6cdd56.tar.lz nixpkgs-95dee0d721cdc1869a1eb57680851da07a6cdd56.tar.xz nixpkgs-95dee0d721cdc1869a1eb57680851da07a6cdd56.tar.zst nixpkgs-95dee0d721cdc1869a1eb57680851da07a6cdd56.zip |
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.
Diffstat (limited to 'pkgs/tools/inputmethods/ibus-engines')
-rw-r--r-- | pkgs/tools/inputmethods/ibus-engines/ibus-table/default.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/tools/inputmethods/ibus-engines/ibus-table/default.nix b/pkgs/tools/inputmethods/ibus-engines/ibus-table/default.nix index 0d467a6875b..d09806402af 100644 --- a/pkgs/tools/inputmethods/ibus-engines/ibus-table/default.nix +++ b/pkgs/tools/inputmethods/ibus-engines/ibus-table/default.nix @@ -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 = [ |