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.
This commit is contained in:
Eelco Dolstra 2022-03-02 23:08:49 +01:00
parent 3a3821bcd7
commit d4538034b7

View file

@ -4,6 +4,7 @@ clearStore
clearProfiles clearProfiles
enableFeatures "ca-derivations ca-references" enableFeatures "ca-derivations ca-references"
restartDaemon
# Make a flake. # Make a flake.
flake1Dir=$TEST_ROOT/flake1 flake1Dir=$TEST_ROOT/flake1