From 95dee0d721cdc1869a1eb57680851da07a6cdd56 Mon Sep 17 00:00:00 2001 From: Kevin Liu Date: Sat, 6 Oct 2018 21:07:29 -0400 Subject: [PATCH] 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. --- pkgs/tools/inputmethods/ibus-engines/ibus-table/default.nix | 1 + 1 file changed, 1 insertion(+) 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 = [