From 4cdd48107486e728a85a8cd0977ba54846c79778 Mon Sep 17 00:00:00 2001 From: Izorkin Date: Mon, 5 Feb 2024 01:34:08 +0300 Subject: fastfetch: add rpmSupport option --- pkgs/tools/misc/fastfetch/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'pkgs/tools') diff --git a/pkgs/tools/misc/fastfetch/default.nix b/pkgs/tools/misc/fastfetch/default.nix index 0c212f1dcc38..d3294c3be0b3 100644 --- a/pkgs/tools/misc/fastfetch/default.nix +++ b/pkgs/tools/misc/fastfetch/default.nix @@ -28,6 +28,7 @@ , xfce , yyjson , zlib +, rpmSupport ? false , vulkanSupport ? true , waylandSupport ? true , x11Support ? true @@ -66,8 +67,9 @@ stdenv.mkDerivation (finalAttrs: { ocl-icd opencl-headers pciutils - rpm zlib + ] ++ lib.optionals rpmSupport [ + rpm ] ++ lib.optionals vulkanSupport [ vulkan-loader ] ++ lib.optionals waylandSupport [ @@ -97,6 +99,7 @@ stdenv.mkDerivation (finalAttrs: { (lib.cmakeOptionType "filepath" "CMAKE_INSTALL_SYSCONFDIR" "${placeholder "out"}/etc") (lib.cmakeBool "ENABLE_SYSTEM_YYJSON" true) (lib.cmakeBool "ENABLE_GLX" x11Support) + (lib.cmakeBool "ENABLE_RPM" rpmSupport) (lib.cmakeBool "ENABLE_VULKAN" x11Support) (lib.cmakeBool "ENABLE_WAYLAND" waylandSupport) (lib.cmakeBool "ENABLE_X11" x11Support) -- cgit 1.4.1