refactor(qml): move shellHook to qml devShell

This commit is contained in:
matt1432 2025-04-26 18:21:51 -04:00
parent e904d7ff25
commit 4823e9a196
4 changed files with 9 additions and 28 deletions
homeManagerModules/neovim/langs/qml

View file

@ -1,10 +1,19 @@
{
lib,
mkShell,
kdePackages,
quickshell,
...
}:
mkShell {
packages = [
kdePackages.qtdeclarative
];
shellHook = ''
export QML2_IMPORT_PATH="$QML2_IMPORT_PATH:${lib.makeSearchPath "lib/qt-6/qml" [
quickshell
kdePackages.qtdeclarative
]}"
'';
}