From 4c9a9471dcecce6b920dac92d6556ad24d48671b Mon Sep 17 00:00:00 2001 From: Soramane <61896496+soramanew@users.noreply.github.com> Date: Sat, 30 Aug 2025 12:43:00 +1000 Subject: dev: fix qml import paths + direnv on non-nix Closes #519 --- .envrc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.envrc b/.envrc index a27edf2..f27a31d 100644 --- a/.envrc +++ b/.envrc @@ -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:-}" -- cgit v1.2.3-freya