@@ -1,6 +1,7 @@
1−{ stdenv, fetchurl, meson, ninja, pkgconfig, gettext, alsaLib, bzip2,
2− efl, gdbm, libXdmcp, libXrandr, libcap, libffi, libpthreadstubs,
3− libxcb, luajit, mesa, pam, pcre, xcbutilkeysyms, xkeyboard_config,
1+{ stdenv, fetchurl, meson, ninja, pkgconfig, gettext, alsaLib, bc,
2+ bzip2, efl, gdbm, libXdmcp, libXrandr, libcap, libffi,
3+ libpthreadstubs, libxcb, luajit, mesa, pam, pcre, xcbutilkeysyms,
4+ xkeyboard_config,
45
56 bluetoothSupport ? true, bluez5,
67 pulseSupport ? !stdenv.isDarwin, libpulseaudio,
@@ -24,6 +25,7 @@ stdenv.mkDerivation rec {
2425
2526 buildInputs = [
2627 alsaLib
28+ bc # for the Everything module calculator mode
2729 bzip2
2830 efl
2931 gdbm
@@ -67,6 +69,9 @@ stdenv.mkDerivation rec {
6769
6870 substituteInPlace src/bin/e_import_config_dialog.c \
6971 --replace "e_prefix_bin_get()" "\"${efl}/bin\""
72+
73+ substituteInPlace src/modules/everything/evry_plug_calc.c \
74+ --replace "ecore_exe_pipe_run(\"bc -l\"" "ecore_exe_pipe_run(\"${bc}/bin/bc -l\""
7075 '';
7176
7277 mesonFlags = [ "-Dsystemdunitdir=lib/systemd/user" ];