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:
parent
e81b1a06be
commit
95dee0d721
@ -26,6 +26,7 @@ stdenv.mkDerivation rec {
|
|||||||
-e "/export IBUS_DATAROOTDIR=/ s/^.$//" \
|
-e "/export IBUS_DATAROOTDIR=/ s/^.$//" \
|
||||||
-e "/export IBUS_LOCALEDIR=/ s/^.$//" \
|
-e "/export IBUS_LOCALEDIR=/ s/^.$//" \
|
||||||
-i "setup/ibus-setup-table.in"
|
-i "setup/ibus-setup-table.in"
|
||||||
|
substituteInPlace engine/tabcreatedb.py --replace '/usr/share/ibus-table' $out/share/ibus-table
|
||||||
'';
|
'';
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user