forked from quickshell/quickshell
nix: add qtsvg dependency by default
This commit is contained in:
parent
23d0c2e01d
commit
54bf485101
|
@ -25,6 +25,7 @@
|
||||||
debug ? false,
|
debug ? false,
|
||||||
enableWayland ? true,
|
enableWayland ? true,
|
||||||
nvidiaCompat ? false,
|
nvidiaCompat ? false,
|
||||||
|
svgSupport ? true, # you almost always want this
|
||||||
}: buildStdenv.mkDerivation {
|
}: buildStdenv.mkDerivation {
|
||||||
pname = "quickshell${lib.optionalString debug "-debug"}";
|
pname = "quickshell${lib.optionalString debug "-debug"}";
|
||||||
version = "0.1.0";
|
version = "0.1.0";
|
||||||
|
@ -43,7 +44,9 @@
|
||||||
buildInputs = with pkgs; [
|
buildInputs = with pkgs; [
|
||||||
qt6.qtbase
|
qt6.qtbase
|
||||||
qt6.qtdeclarative
|
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";
|
QTWAYLANDSCANNER = lib.optionalString enableWayland "${qt6.qtwayland}/libexec/qtwaylandscanner";
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue