diff options
| author | Soramane <61896496+soramanew@users.noreply.github.com> | 2025-08-30 12:43:00 +1000 |
|---|---|---|
| committer | Soramane <61896496+soramanew@users.noreply.github.com> | 2025-08-30 12:43:00 +1000 |
| commit | 4c9a9471dcecce6b920dac92d6556ad24d48671b (patch) | |
| tree | 1ca6a2907746cc269f4edb62ff03cfc0ba3b51c8 /.envrc | |
| parent | config: fix default playerAliases (#506) (diff) | |
| download | caelestia-shell-4c9a9471dcecce6b920dac92d6556ad24d48671b.tar.gz caelestia-shell-4c9a9471dcecce6b920dac92d6556ad24d48671b.tar.bz2 caelestia-shell-4c9a9471dcecce6b920dac92d6556ad24d48671b.zip | |
dev: fix qml import paths + direnv on non-nix
Closes #519
Diffstat (limited to '.envrc')
| -rw-r--r-- | .envrc | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -1,4 +1,6 @@ -use flake +if has nix; then + use flake +fi shopt -s globstar watch_file assets/cpp/**/*.cpp @@ -8,5 +10,5 @@ watch_file plugin/**/*.hpp cmake -B build -G Ninja -DCMAKE_BUILD_TYPE=Debug -DDISTRIBUTOR=direnv cmake --build build -export CAELESTIA_LIB_DIR="$PWD/build/lib"; -export QML2_IMPORT_PATH="$PWD/build/qml"; +export CAELESTIA_LIB_DIR="$PWD/build/lib" +export QML2_IMPORT_PATH="$PWD/build/qml:${QML2_IMPORT_PATH:-}" |