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 similarity index 71% rename from run.sh rename to 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 "$@"