summaryrefslogtreecommitdiff
path: root/srv-dev-env.sh
diff options
context:
space:
mode:
Diffstat (limited to 'srv-dev-env.sh')
-rw-r--r--srv-dev-env.sh15
1 files changed, 0 insertions, 15 deletions
diff --git a/srv-dev-env.sh b/srv-dev-env.sh
deleted file mode 100644
index d41a96d..0000000
--- a/srv-dev-env.sh
+++ /dev/null
@@ -1,15 +0,0 @@
-
-test_dir="$(mktemp -d)"
-trap "rm -rf $test_dir" EXIT
-
-mkdir -p "$test_dir"/run
-mkdir -p "$test_dir"/data
-
-test_cfg="(import ./config.nix) // {
- runDir=\"${test_dir}/run\";
- dataDir=\"${test_dir}/data\";
-}"
-
-nix-shell -A srv.shell \
- --arg config "$test_cfg" \
- "$@"