forked from Shinonome/alt-illogical-impulse
Use prev.quickshell to avoid Qt version mismatch
This commit is contained in:
@@ -24,16 +24,9 @@
|
|||||||
};
|
};
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
overlays.default = final: prev:
|
overlays.default = final: prev: {
|
||||||
let
|
# Use quickshell from the same nixpkgs (supports all architectures)
|
||||||
# Get quickshell from nixpkgs for the current system
|
quickshell-base = prev.quickshell or (builtins.throw "quickshell not available in nixpkgs");
|
||||||
pkgsForQuickshell = import nixpkgs {
|
|
||||||
system = final.system;
|
|
||||||
config.allowUnfree = true;
|
|
||||||
};
|
|
||||||
in {
|
|
||||||
# Use quickshell from nixpkgs (supports all architectures)
|
|
||||||
quickshell-base = pkgsForQuickshell.quickshell;
|
|
||||||
|
|
||||||
# Enhanced quickshell with Qt5Compat support for dots-hyprland
|
# Enhanced quickshell with Qt5Compat support for dots-hyprland
|
||||||
quickshell = final.writeShellScriptBin "quickshell" ''
|
quickshell = final.writeShellScriptBin "quickshell" ''
|
||||||
|
|||||||
Reference in New Issue
Block a user