diff options
| author | Davi Ribeiro <104164579+Markus328@users.noreply.github.com> | 2025-08-29 01:07:47 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-29 14:07:47 +1000 |
| commit | b648477b91e3cb1aefd5b6b8fdd94ffbbd79fcb1 (patch) | |
| tree | 4782f00bfd90b636231c77124d196446514f2be3 /flake.nix | |
| parent | ci: no cpack (diff) | |
| download | caelestia-shell-b648477b91e3cb1aefd5b6b8fdd94ffbbd79fcb1.tar.gz caelestia-shell-b648477b91e3cb1aefd5b6b8fdd94ffbbd79fcb1.tar.bz2 caelestia-shell-b648477b91e3cb1aefd5b6b8fdd94ffbbd79fcb1.zip | |
nix: better nix develop + refactor (#490)
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"; + ''; }; }); |