enlightenment: xkeyboard-config already provides xorg.lst

This commit is contained in:
José Romildo Malaquias 2018-08-30 11:40:16 -03:00
parent bba65b6652
commit c3d43723b6

View File

@ -57,16 +57,6 @@ stdenv.mkDerivation rec {
];
postPatch = ''
# In order to get the available keyboard layouts Enlightenment looks for
# the file xorg.lst, that should be provided by xkeyboard-config (when
# configured with option --with-xkb-rules-symlink=xorg). Currently
# xkeyboard-config is not configured with this option in
# NixOS. Therefore it is needed to add base.lst (which xorg.lst would be
# a symbolic link to) explicitly as an alternative.
sed "/#ifdef XKB_BASE/a XKB_BASE \"\/rules\/base.lst\"," \
-i src/modules/wizard/page_011.c src/modules/xkbswitch/e_mod_parse.c
# edge_cc is a binary provided by efl and cannot be found at the directory
# given by e_prefix_bin_get(), which is $out/bin