From 54bf485101c93acdf6f6fb514afbe3eb50eea1fa Mon Sep 17 00:00:00 2001 From: outfoxxed Date: Fri, 19 Apr 2024 02:46:38 -0700 Subject: [PATCH] nix: add qtsvg dependency by default --- default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/default.nix b/default.nix index 60865acc..3f2029b5 100644 --- a/default.nix +++ b/default.nix @@ -25,6 +25,7 @@ debug ? false, enableWayland ? true, nvidiaCompat ? false, + svgSupport ? true, # you almost always want this }: buildStdenv.mkDerivation { pname = "quickshell${lib.optionalString debug "-debug"}"; version = "0.1.0"; @@ -43,7 +44,9 @@ buildInputs = with pkgs; [ qt6.qtbase qt6.qtdeclarative - ] ++ (lib.optionals enableWayland [ qt6.qtwayland wayland ]); + ] + ++ (lib.optionals enableWayland [ qt6.qtwayland wayland ]) + ++ (lib.optionals svgSupport [ qt6.qtsvg ]); QTWAYLANDSCANNER = lib.optionalString enableWayland "${qt6.qtwayland}/libexec/qtwaylandscanner";