summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/flake.nix b/flake.nix
index d1e7109..07fc0c9 100644
--- a/flake.nix
+++ b/flake.nix
@@ -139,7 +139,7 @@ PY
packages.${system} = rec {
default = slopbot;
slopbot = pkgs.writeShellScriptBin "slopbot" ''
- cd /home/ben/src/bsima/slopbot
+ cd "''${SLOPBOT_DIR:-/home/ben/src/bsima/slopbot}"
export PATH=${slopTools}/bin
export SLOPBOT_AGENT=${agent}/bin/agent
export SLOPBOT_AGENT_PATH=${slopTools}/bin