summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix13
1 files changed, 10 insertions, 3 deletions
diff --git a/flake.nix b/flake.nix
index edb46bd..493723a 100644
--- a/flake.nix
+++ b/flake.nix
@@ -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";
+ '';
};
});