From cfc7a32966dc6cabd925fdc84d082cfc9067b576 Mon Sep 17 00:00:00 2001 From: José Romildo Malaquias Date: Wed, 18 Sep 2019 11:28:49 -0300 Subject: enlightenment.enlightenment: add dependency on bc --- pkgs/desktops/enlightenment/enlightenment.nix | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'pkgs/desktops/enlightenment') diff --git a/pkgs/desktops/enlightenment/enlightenment.nix b/pkgs/desktops/enlightenment/enlightenment.nix index 5b80a161d0c..a5724385e41 100644 --- a/pkgs/desktops/enlightenment/enlightenment.nix +++ b/pkgs/desktops/enlightenment/enlightenment.nix @@ -1,6 +1,7 @@ -{ stdenv, fetchurl, meson, ninja, pkgconfig, gettext, alsaLib, bzip2, - efl, gdbm, libXdmcp, libXrandr, libcap, libffi, libpthreadstubs, - libxcb, luajit, mesa, pam, pcre, xcbutilkeysyms, xkeyboard_config, +{ stdenv, fetchurl, meson, ninja, pkgconfig, gettext, alsaLib, bc, + bzip2, efl, gdbm, libXdmcp, libXrandr, libcap, libffi, + libpthreadstubs, libxcb, luajit, mesa, pam, pcre, xcbutilkeysyms, + xkeyboard_config, bluetoothSupport ? true, bluez5, pulseSupport ? !stdenv.isDarwin, libpulseaudio, @@ -24,6 +25,7 @@ stdenv.mkDerivation rec { buildInputs = [ alsaLib + bc # for the Everything module calculator mode bzip2 efl gdbm @@ -67,6 +69,9 @@ stdenv.mkDerivation rec { substituteInPlace src/bin/e_import_config_dialog.c \ --replace "e_prefix_bin_get()" "\"${efl}/bin\"" + + substituteInPlace src/modules/everything/evry_plug_calc.c \ + --replace "ecore_exe_pipe_run(\"bc -l\"" "ecore_exe_pipe_run(\"${bc}/bin/bc -l\"" ''; mesonFlags = [ "-Dsystemdunitdir=lib/systemd/user" ]; -- cgit 1.4.1