Use prev.quickshell to avoid Qt version mismatch

This commit is contained in:
Celes Renata
2025-12-12 13:44:41 -08:00
parent 4779be29a8
commit 546364a6d4
+3 -10
View File
@@ -24,16 +24,9 @@
};
in
{
overlays.default = final: prev:
let
# Get quickshell from nixpkgs for the current system
pkgsForQuickshell = import nixpkgs {
system = final.system;
config.allowUnfree = true;
};
in {
# Use quickshell from nixpkgs (supports all architectures)
quickshell-base = pkgsForQuickshell.quickshell;
overlays.default = final: prev: {
# Use quickshell from the same nixpkgs (supports all architectures)
quickshell-base = prev.quickshell or (builtins.throw "quickshell not available in nixpkgs");
# Enhanced quickshell with Qt5Compat support for dots-hyprland
quickshell = final.writeShellScriptBin "quickshell" ''