summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.envrc6
-rwxr-xr-xbin/caelestia (renamed from run.sh)2
2 files changed, 6 insertions, 2 deletions
diff --git a/.envrc b/.envrc
index 3550a30..612703d 100644
--- a/.envrc
+++ b/.envrc
@@ -1 +1,5 @@
-use flake
+if has nix; then
+ use flake
+fi
+
+PATH_add bin
diff --git a/run.sh b/bin/caelestia
index aae070b..9afa4f7 100755
--- a/run.sh
+++ b/bin/caelestia
@@ -2,6 +2,6 @@
# Utility script for running caelestia
-cd "$(dirname $0)/src" || exit
+cd "$(dirname $0)/../src" || exit
python -m caelestia "$@"