From 5874482f03dd96b905d0f7ff0edd46d848fade79 Mon Sep 17 00:00:00 2001 From: Wolfgang Walther Date: Sun, 25 Apr 2021 20:26:00 +0200 Subject: [PATCH] nix(fix): Database cluster not cleaned up before artifact upload --- nix/tools/withTools.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nix/tools/withTools.nix b/nix/tools/withTools.nix index 1f3f2a8018..e64bd5f5b1 100644 --- a/nix/tools/withTools.nix +++ b/nix/tools/withTools.nix @@ -72,6 +72,7 @@ let stop () { log "Stopping the database cluster..." pg_ctl stop -m i >> "$setuplog" + rm -rf "$tmpdir/db" } trap stop EXIT