diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2022-03-02 23:08:49 +0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2022-03-02 23:08:49 +0100 |
commit | d4538034b7fba772a5f87c2efa66dbbd76760142 (patch) | |
tree | 09fa9a4ff346e06897fc7cdde6cdb6db7d1512d6 /tests | |
parent | 3a3821bcd7c71e27ad1f6861e0d37d322f721b2b (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.sh | 1 |
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 |