1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-14 14:32:42 +01:00

Fix windows build

PR #12767 accidentally broke it.

(cherry picked from commit 99041b4d84)
This commit is contained in:
John Ericson 2025-03-28 13:15:21 -04:00 committed by Mergify
parent 004187e8cd
commit 003584e59e
3 changed files with 5 additions and 10 deletions

View file

@ -116,7 +116,7 @@ LocalStore::LocalStore(
state->stmts = std::make_unique<State::Stmts>();
/* Create missing state directories if they don't already exist. */
createDirs(realStoreDir);
createDirs(realStoreDir.get());
if (readOnly) {
experimentalFeatureSettings.require(Xp::ReadOnlyLocalStore);
} else {