summaryrefslogtreecommitdiff
path: root/srv-dev-env.sh
diff options
context:
space:
mode:
authorBrian Picciano <mediocregopher@gmail.com>2022-09-13 12:56:08 +0200
committerBrian Picciano <mediocregopher@gmail.com>2022-09-13 12:56:08 +0200
commit4f01edb9230f58ff84b0dd892c931ec8ac9aad55 (patch)
tree9c1598a3f98203913ac2548883c02a81deb33dc7 /srv-dev-env.sh
parent5485984e05aebde22819adebfbd5ad51475a6c21 (diff)
move src out of srv, clean up default.nix and Makefile
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" \
- "$@"