diff options
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 13 |
1 files changed, 10 insertions, 3 deletions
@@ -45,10 +45,17 @@ default = let shell = self.packages.${pkgs.system}.caelestia-shell; in - pkgs.mkShellNoCC { - inputsFrom = [shell]; + pkgs.mkShell { + inputsFrom = [shell shell.plugin shell.assets]; packages = with pkgs; [material-symbols rubik nerd-fonts.caskaydia-cove]; - CAELESTIA_LIB_DIR = "${shell}/lib"; + + CAELESTIA_XKB_RULES_PATH = "${pkgs.xkeyboard-config}/share/xkeyboard-config-2/rules/base.lst"; + shellHook = '' + cmake -B build -G Ninja -DCMAKE_BUILD_TYPE=Debug + cmake --build build + export CAELESTIA_LIB_DIR="$PWD/build/assets/cpp"; + export QML2_IMPORT_PATH="$PWD/build/qml"; + ''; }; }); |