summary refs log tree commit diff
path: root/pkgs/desktops/enlightenment
diff options
context:
space:
mode:
authorJosé Romildo Malaquias <malaquias@gmail.com>2019-09-18 11:28:49 -0300
committerJosé Romildo Malaquias <malaquias@gmail.com>2019-09-18 11:28:49 -0300
commitcfc7a32966dc6cabd925fdc84d082cfc9067b576 (patch)
treed504787d658dd5e30d94351a145b6702006c855c /pkgs/desktops/enlightenment
parent75d88e42b6049af69375379fac52fb994c2e0ffc (diff)
downloadnixpkgs-cfc7a32966dc6cabd925fdc84d082cfc9067b576.tar
nixpkgs-cfc7a32966dc6cabd925fdc84d082cfc9067b576.tar.gz
nixpkgs-cfc7a32966dc6cabd925fdc84d082cfc9067b576.tar.bz2
nixpkgs-cfc7a32966dc6cabd925fdc84d082cfc9067b576.tar.lz
nixpkgs-cfc7a32966dc6cabd925fdc84d082cfc9067b576.tar.xz
nixpkgs-cfc7a32966dc6cabd925fdc84d082cfc9067b576.tar.zst
nixpkgs-cfc7a32966dc6cabd925fdc84d082cfc9067b576.zip
enlightenment.enlightenment: add dependency on bc
Diffstat (limited to 'pkgs/desktops/enlightenment')
-rw-r--r--pkgs/desktops/enlightenment/enlightenment.nix11
1 files changed, 8 insertions, 3 deletions
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" ];