build: add opt-in installation of QML lib
Override the package with `withQMLLib = true;` to enable lib installation, alternatively add `-DINSTALL_QML_LIB=ON` to your cmake build command. Co-authored-by: a-usr <81042605+a-usr@users.noreply.github.com>
This commit is contained in:
parent
f95e7dbaf6
commit
b40d4147e0
3 changed files with 19 additions and 1 deletions
|
@ -37,6 +37,7 @@
|
|||
withPipewire ? true,
|
||||
withPam ? true,
|
||||
withHyprland ? true,
|
||||
withQMLLib ? true,
|
||||
}: buildStdenv.mkDerivation {
|
||||
pname = "quickshell${lib.optionalString debug "-debug"}";
|
||||
version = "0.1.0";
|
||||
|
@ -75,7 +76,8 @@
|
|||
++ lib.optional (!withWayland) "-DWAYLAND=OFF"
|
||||
++ lib.optional (!withPipewire) "-DSERVICE_PIPEWIRE=OFF"
|
||||
++ lib.optional (!withPam) "-DSERVICE_PAM=OFF"
|
||||
++ lib.optional (!withHyprland) "-DHYPRLAND=OFF";
|
||||
++ lib.optional (!withHyprland) "-DHYPRLAND=OFF"
|
||||
++ lib.optional (!withQMLLib) "-DINSTALL_QML_LIB=OFF";
|
||||
|
||||
buildPhase = "ninjaBuildPhase";
|
||||
enableParallelBuilding = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue