build: clarify shared libraries

This commit is contained in:
outfoxxed 2025-06-15 23:00:56 -07:00
parent d9164578a2
commit 9a30333405
Signed by: outfoxxed
GPG key ID: 4C88A185FB89301E
2 changed files with 23 additions and 16 deletions

View file

@ -46,29 +46,28 @@
}: buildStdenv.mkDerivation {
pname = "quickshell${lib.optionalString debug "-debug"}";
version = "0.1.0";
src = nix-gitignore.gitignoreSource "/docs\n/examples\n" ./.;
src = nix-gitignore.gitignoreSource [] ./.;
nativeBuildInputs = [
cmake
ninja
qt6.qtshadertools
spirv-tools
cli11
qt6.wrapQtAppsHook
pkg-config
] ++ (lib.optionals withWayland [
wayland-protocols
wayland-scanner
]);
]
++ lib.optional withWayland wayland-scanner;
buildInputs = [
qt6.qtbase
qt6.qtdeclarative
cli11
]
++ lib.optional withQtSvg qt6.qtsvg
++ lib.optional withCrashReporter breakpad
++ lib.optional withJemalloc jemalloc
++ lib.optional withQtSvg qt6.qtsvg
++ lib.optionals withWayland ([ qt6.qtwayland wayland ] ++ (if libgbm != null then [ libdrm libgbm ] else []))
++ lib.optionals withWayland [ qt6.qtwayland wayland wayland-protocols ]
++ lib.optionals (withWayland && libgbm != null) [ libdrm libgbm ]
++ lib.optional withX11 xorg.libxcb
++ lib.optional withPam pam
++ lib.optional withPipewire pipewire;