build: greatly speed up build times using pch

This commit is contained in:
outfoxxed committed 2024-03-11 18:18:55 -07:00
1 parent 3480707e99
commit c44041653c
10 files changed
+51 -8

No files matched your search

+2 -2
View File
@@ -3,7 +3,7 @@
nix-gitignore,
pkgs,
keepDebugInfo,
stdenv ? (keepDebugInfo pkgs.stdenv),
buildStdenv ? pkgs.clang17Stdenv,
cmake,
ninja,
@@ -23,7 +23,7 @@
else "unknown"),
debug ? false,
enableWayland ? true,
}: stdenv.mkDerivation {
}: buildStdenv.mkDerivation {
pname = "quickshell${lib.optionalString debug "-debug"}";
version = "0.1.0";
src = nix-gitignore.gitignoreSource "/docs\n/examples\n" ./.;