forked from Shinonome/alt-illogical-impulse
Fix quickshell wrapper using symlinkJoin
- Use symlinkJoin with wrapProgram for proper binary wrapping - This ensures the qs binary gets the QML2_IMPORT_PATH set correctly - Should resolve the Qt5Compat.GraphicalEffects import issue permanently
This commit is contained in:
@@ -24,10 +24,15 @@
|
||||
{
|
||||
overlays.default = final: prev: {
|
||||
# Enhanced quickshell with Qt5Compat support for dots-hyprland
|
||||
quickshell = final.writeShellScriptBin "qs" ''
|
||||
export QML2_IMPORT_PATH="${final.qt6.qt5compat}/lib/qt-6/qml:$QML2_IMPORT_PATH"
|
||||
exec ${quickshell.packages.${system}.default}/bin/qs "$@"
|
||||
'';
|
||||
quickshell = final.symlinkJoin {
|
||||
name = "quickshell-with-qt5compat";
|
||||
paths = [ quickshell.packages.${system}.default ];
|
||||
buildInputs = [ final.makeWrapper ];
|
||||
postBuild = ''
|
||||
wrapProgram $out/bin/qs \
|
||||
--prefix QML2_IMPORT_PATH : "${final.qt6.qt5compat}/lib/qt-6/qml"
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
packages.${system} = utilityPackages // {
|
||||
|
||||
Reference in New Issue
Block a user