aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2022-03-02 23:08:49 +0100
committerEelco Dolstra <edolstra@gmail.com>2022-03-02 23:08:49 +0100
commitd4538034b7fba772a5f87c2efa66dbbd76760142 (patch)
tree09fa9a4ff346e06897fc7cdde6cdb6db7d1512d6 /tests
parent3a3821bcd7c71e27ad1f6861e0d37d322f721b2b (diff)
nix profile test: Restart daemon
Fixes nix-daemon: src/libstore/sqlite.cc:97: nix::SQLiteStmt::Use::Use(nix::SQLiteStmt&): Assertion `stmt.stmt' failed. which happens because the daemon doesn't properly handle the case where ca-derivations isn't enabled at daemon startup.
Diffstat (limited to 'tests')
-rw-r--r--tests/nix-profile.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/nix-profile.sh b/tests/nix-profile.sh
index be80e089a..a7a4d4fa2 100644
--- a/tests/nix-profile.sh
+++ b/tests/nix-profile.sh
@@ -4,6 +4,7 @@ clearStore
clearProfiles
enableFeatures "ca-derivations ca-references"
+restartDaemon
# Make a flake.
flake1Dir=$TEST_ROOT/flake1