I’m trying to package moonbuddy-deck https://github.com/FrogTheFrog/moondeck-buddy
in a flake, but am running into an issue where
> CMake Error at src/lib/os/linux/CMakeLists.txt:13 (find_library):
> Could not find PROCPS_LIBRARY using the following names: proc, procps
I’ve tried pkgs.procps, pkgs.procs, pkgs.unixutils.procps, but none of them work. I’ve seen procps-ng in nixpkgs but can’t figure out how to use it as a nativebuildinput. My flake is the following:
{
description = "moondeck-buddy";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.11";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = nixpkgs.legacyPackages.${system};
in {
packages = rec {
default = moondeck-buddy;
moondeck-buddy = pkgs.multiStdenv.mkDerivation {
pname = "moondeck-buddy";
version = "main";
src = pkgs.fetchFromGitHub {
owner = "FrogTheFrog";
repo = "moondeck-buddy";
rev = "main";
sha256 = "/cVEBpXVIdgKZ9yonwUDayii0T/X04PmLhTH/2S2cFc=";
};
nativeBuildInputs = [
pkgs.cmake
pkgs.qt6.full
pkgs.xorg.libX11
pkgs.procps
pkgs.procs
pkgs.unixtools.procps
];
};
};
}
);
}
and the last 25 lines of the build look like:
> -- Found WrapAtomic: TRUE
> -- Found OpenGL: /nix/store/4v8zscynk625j9nrcf40cxhgcc1biq09-qt-full-6.8.0/lib/libOpenGL.so
> -- Found WrapOpenGL: TRUE
> -- Could NOT find XKB (missing: XKB_LIBRARY XKB_INCLUDE_DIR) (Required is at least version "0.5.0")
> -- Could NOT find WrapVulkanHeaders (missing: Vulkan_INCLUDE_DIR)
> -- Could NOT find XKB (missing: XKB_LIBRARY XKB_INCLUDE_DIR) (Required is at least version "0.5.0")
> -- Could NOT find WrapVulkanHeaders (missing: Vulkan_INCLUDE_DIR)
> -- Could NOT find XKB (missing: XKB_LIBRARY XKB_INCLUDE_DIR) (Required is at least version "0.5.0")
> -- Could NOT find WrapVulkanHeaders (missing: Vulkan_INCLUDE_DIR)
> -- Found X11: /nix/store/c551bwv9dafz0rcqj7jcrv7kji1y9abj-xorgproto-2024.1/include
> -- Looking for XOpenDisplay in /nix/store/ikjw6a952jd9wn5k06mkj710xzabssr0-libX11-1.8.10/lib/libX11.so
> -- Looking for XOpenDisplay in /nix/store/ikjw6a952jd9wn5k06mkj710xzabssr0-libX11-1.8.10/lib/libX11.so - found
> -- Looking for gethostbyname
> -- Looking for gethostbyname - found
> -- Looking for connect
> -- Looking for connect - found
> -- Looking for remove
> -- Looking for remove - found
> -- Looking for shmat
> -- Looking for shmat - found
> CMake Error at src/lib/os/linux/CMakeLists.txt:13 (find_library):
> Could not find PROCPS_LIBRARY using the following names: proc, procps
>
>
> -- Configuring incomplete, errors occurred!
Any help would be greatly appreciated!