In my home-manager config I am trying to install a newer version of conky (hopefully to fix the graphs not having the correct colour) but it does not install dependencies. My config is:
{ pkgs, scripts, ... }:
let
customConky = pkgs.conky.overrideAttrs (oldAttrs: rec {
version = "1.21.0";
src = pkgs.fetchFromGitHub {
owner = "brndnmtthws";
repo = "conky";
rev = "v${version}";
sha256 = "0hz2wpbsb6f9lvm9dij6pz8l4h4sj2ll630yd1rm6wfnblbsmgz4";
};
});
in
{
home.packages = with pkgs; [
...
customConky
];
}
running home-manager switch
results in this error:
...
> -- Found Fontconfig: /nix/store/ky4chw5yg9n9rrljxaiahqmmvzrpds31-fontconfig-2.15.0-lib/lib/libfontconfig.so (found version "2.15.0")
> CMake Error at cmake/ConkyPlatformChecks.cmake:425 (message):
> Unable to find Xinput library
> Call Stack (most recent call first):
> CMakeLists.txt:35 (include)
>
>
> -- Configuring incomplete, errors occurred!
For full logs, run 'nix log /nix/store/2nycha3xhig4v124rivnld3nzwla7b32-conky-1.21.0.drv'.
error: 1 dependencies of derivation '/nix/store/xhz33hpnq0ncxj61q32y796991innxqn-home-manager-path.drv' failed to build
error: 1 dependencies of derivation '/nix/store/jsblics5506v55ffd9awa86xamd03jxc-home-manager-generation.drv' failed to build
how do I include these dependencies to fix this? I tried adding xorg.xinput
to my package list, but to no avail