forked from Shinonome/alt-illogical-impulse
Fix overlay to properly import quickshell from nixpkgs
This commit is contained in:
@@ -24,9 +24,16 @@
|
||||
};
|
||||
in
|
||||
{
|
||||
overlays.default = final: prev: {
|
||||
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 = prev.quickshell;
|
||||
quickshell-base = pkgsForQuickshell.quickshell;
|
||||
|
||||
# Enhanced quickshell with Qt5Compat support for dots-hyprland
|
||||
quickshell = final.writeShellScriptBin "quickshell" ''
|
||||
@@ -44,6 +51,7 @@
|
||||
exec ${final.quickshell-base}/bin/qs "$@"
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
packages = forAllSystems (system:
|
||||
let
|
||||
|
||||
Reference in New Issue
Block a user